; Disassembly of the file "C:\Game Tech\Test Equipment\Fluke\128C902.U21"
;
; Created with dZ80 v1.31
;
; on Thursday, 23 of August 2001 at 10:42 PM
;
0000  21c29d    ld      hl,#9dc2
0003  80        add     a,b
0004  2e20      ld      l,#20
0006  3a30f3    ld      a,(#f330)
0009  c603      add     a,#03
000b  e63c      and     #3c
000d  4f        ld      c,a
000e  7d        ld      a,l
000f  91        sub     c
0010  6f        ld      l,a
0011  dd75f7    ld      (ix-#09),l
0014  dd36f803  ld      (ix-#08),#03
0018  c3a580    jp      #80a5
001b  dd7e06    ld      a,(ix+#06)
001e  fe0a      cp      #0a
0020  2006      jr      nz,#0028        ; (6)
0022  dd36f30a  ld      (ix-#0d),#0a
0026  1804      jr      #002c           ; (4)
0028  dd36f320  ld      (ix-#0d),#20
002c  dd6ef3    ld      l,(ix-#0d)
002f  7d        ld      a,l
0030  dd9608    sub     (ix+#08)
0033  6f        ld      l,a
0034  dd75f7    ld      (ix-#09),l
0037  dd36f900  ld      (ix-#07),#00
003b  dd7ef9    ld      a,(ix-#07)
003e  ddbef7    cp      (ix-#09)
0041  3015      jr      nc,#0058        ; (21)
0043  dd6ef4    ld      l,(ix-#0c)
0046  dd66f5    ld      h,(ix-#0b)
0049  dd5ef9    ld      e,(ix-#07)
004c  97        sub     a
004d  57        ld      d,a
004e  19        add     hl,de
004f  7e        ld      a,(hl)
0050  b7        or      a
0051  2005      jr      nz,#0058        ; (5)
0053  dd34f9    inc     (ix-#07)
0056  18e3      jr      #003b           ; (-29)
0058  dd7ef9    ld      a,(ix-#07)
005b  ddbef3    cp      (ix-#0d)
005e  d20681    jp      nc,#8106
0061  cd7d81    call    #817d
0064  79        ld      a,c
0065  b7        or      a
0066  282f      jr      z,#0097         ; (47)
0068  3a76f5    ld      a,(#f576)
006b  6f        ld      l,a
006c  3a76f5    ld      a,(#f576)
006f  c601      add     a,#01
0071  3276f5    ld      (#f576),a
0074  4d        ld      c,l
0075  97        sub     a
0076  47        ld      b,a
0077  69        ld      l,c
0078  60        ld      h,b
0079  0146f5    ld      bc,#f546
007c  09        add     hl,bc
007d  e5        push    hl
007e  dd6ef9    ld      l,(ix-#07)
0081  e5        push    hl
0082  dd34f9    inc     (ix-#07)
0085  e1        pop     hl
0086  4d        ld      c,l
0087  97        sub     a
0088  47        ld      b,a
0089  69        ld      l,c
008a  60        ld      h,b
008b  dd4ef4    ld      c,(ix-#0c)
008e  dd46f5    ld      b,(ix-#0b)
0091  09        add     hl,bc
0092  c1        pop     bc
0093  7e        ld      a,(hl)
0094  02        ld      (bc),a
0095  18c1      jr      #0058           ; (-63)
0097  cd6f73    call    #736f
009a  c393be    jp      #be93
009d  dd36f710  ld      (ix-#09),#10
00a1  dd36f807  ld      (ix-#08),#07
00a5  dd7ef7    ld      a,(ix-#09)
00a8  dd77f9    ld      (ix-#07),a
00ab  dd7ef9    ld      a,(ix-#07)
00ae  fe20      cp      #20
00b0  d2fe80    jp      nc,#80fe
00b3  3a76f5    ld      a,(#f576)
00b6  6f        ld      l,a
00b7  3a76f5    ld      a,(#f576)
00ba  c601      add     a,#01
00bc  3276f5    ld      (#f576),a
00bf  4d        ld      c,l
00c0  97        sub     a
00c1  47        ld      b,a
00c2  69        ld      l,c
00c3  60        ld      h,b
00c4  0146f5    ld      bc,#f546
00c7  09        add     hl,bc
00c8  e5        push    hl
00c9  dd6ef4    ld      l,(ix-#0c)
00cc  dd66f5    ld      h,(ix-#0b)
00cf  dd5ef9    ld      e,(ix-#07)
00d2  97        sub     a
00d3  57        ld      d,a
00d4  19        add     hl,de
00d5  c1        pop     bc
00d6  7e        ld      a,(hl)
00d7  02        ld      (bc),a
00d8  dd6ef9    ld      l,(ix-#07)
00db  7d        ld      a,l
00dc  dda6f8    and     (ix-#08)
00df  6f        ld      l,a
00e0  ddbef8    cp      (ix-#08)
00e3  2027      jr      nz,#010c        ; (39)
00e5  3a76f5    ld      a,(#f576)
00e8  6f        ld      l,a
00e9  3a76f5    ld      a,(#f576)
00ec  c601      add     a,#01
00ee  3276f5    ld      (#f576),a
00f1  4d        ld      c,l
00f2  97        sub     a
00f3  47        ld      b,a
00f4  69        ld      l,c
00f5  60        ld      h,b
00f6  0146f5    ld      bc,#f546
00f9  09        add     hl,bc
00fa  3663      ld      (hl),#63
00fc  180e      jr      #010c           ; (14)
00fe  3a76f5    ld      a,(#f576)
0101  d601      sub     #01
0103  3276f5    ld      (#f576),a
0106  cd7386    call    #8673
0109  c393be    jp      #be93
010c  dd34f9    inc     (ix-#07)
010f  c3ab80    jp      #80ab
0112  e7        rst     #20
0113  3a40f1    ld      a,(#f140)
0116  fe03      cp      #03
0118  2003      jr      nz,#011d        ; (3)
011a  c384be    jp      #be84
011d  cd7d81    call    #817d
0120  79        ld      a,c
0121  b7        or      a
0122  2006      jr      nz,#012a        ; (6)
0124  cd6f73    call    #736f
0127  c384be    jp      #be84
012a  3a76f5    ld      a,(#f576)
012d  6f        ld      l,a
012e  3a76f5    ld      a,(#f576)
0131  c601      add     a,#01
0133  3276f5    ld      (#f576),a
0136  4d        ld      c,l
0137  97        sub     a
0138  47        ld      b,a
0139  69        ld      l,c
013a  60        ld      h,b
013b  0146f5    ld      bc,#f546
013e  09        add     hl,bc
013f  3668      ld      (hl),#68
0141  3a76f5    ld      a,(#f576)
0144  6f        ld      l,a
0145  3a76f5    ld      a,(#f576)
0148  c601      add     a,#01
014a  3276f5    ld      (#f576),a
014d  4d        ld      c,l
014e  97        sub     a
014f  47        ld      b,a
0150  69        ld      l,c
0151  60        ld      h,b
0152  0146f5    ld      bc,#f546
0155  09        add     hl,bc
0156  dd4e04    ld      c,(ix+#04)
0159  dd4605    ld      b,(ix+#05)
015c  dd3404    inc     (ix+#04)
015f  2003      jr      nz,#0164        ; (3)
0161  dd3405    inc     (ix+#05)
0164  0a        ld      a,(bc)
0165  77        ld      (hl),a
0166  7e        ld      a,(hl)
0167  b7        or      a
0168  280d      jr      z,#0177         ; (13)
016a  cd7d81    call    #817d
016d  79        ld      a,c
016e  b7        or      a
016f  20d0      jr      nz,#0141        ; (-48)
0171  cd6f73    call    #736f
0174  c384be    jp      #be84
0177  cd7386    call    #8673
017a  c384be    jp      #be84
017d  f7        rst     #30
017e  3a76f5    ld      a,(#f576)
0181  fe2f      cp      #2f
0183  3828      jr      c,#01ad         ; (40)
0185  3a40f1    ld      a,(#f140)
0188  fe02      cp      #02
018a  2026      jr      nz,#01b2        ; (38)
018c  3e52      ld      a,#52
018e  3246f5    ld      (#f546),a
0191  3e01      ld      a,#01
0193  3276f5    ld      (#f576),a
0196  97        sub     a
0197  3278f6    ld      (#f678),a
019a  cd7386    call    #8673
019d  cdcaaa    call    #aaca
01a0  3a26f1    ld      a,(#f126)
01a3  3269e9    ld      (#e969),a
01a6  3e45      ld      a,#45
01a8  3226f1    ld      (#f126),a
01ab  1808      jr      #01b5           ; (8)
01ad  0e01      ld      c,#01
01af  c372be    jp      #be72
01b2  cd6f73    call    #736f
01b5  0e00      ld      c,#00
01b7  c372be    jp      #be72
01ba  e7        rst     #20
01bb  21f9ff    ld      hl,#fff9
01be  39        add     hl,sp
01bf  f9        ld      sp,hl
01c0  dd6e04    ld      l,(ix+#04)
01c3  dd6605    ld      h,(ix+#05)
01c6  dd3404    inc     (ix+#04)
01c9  2003      jr      nz,#01ce        ; (3)
01cb  dd3405    inc     (ix+#05)
01ce  3a76f5    ld      a,(#f576)
01d1  77        ld      (hl),a
01d2  dd36f900  ld      (ix-#07),#00
01d6  2176f5    ld      hl,#f576
01d9  dd7ef9    ld      a,(ix-#07)
01dc  be        cp      (hl)
01dd  3020      jr      nc,#01ff        ; (32)
01df  dd6e04    ld      l,(ix+#04)
01e2  dd6605    ld      h,(ix+#05)
01e5  dd3404    inc     (ix+#04)
01e8  2003      jr      nz,#01ed        ; (3)
01ea  dd3405    inc     (ix+#05)
01ed  e5        push    hl
01ee  2146f5    ld      hl,#f546
01f1  dd5ef9    ld      e,(ix-#07)
01f4  97        sub     a
01f5  57        ld      d,a
01f6  19        add     hl,de
01f7  c1        pop     bc
01f8  7e        ld      a,(hl)
01f9  02        ld      (bc),a
01fa  dd34f9    inc     (ix-#07)
01fd  18d7      jr      #01d6           ; (-41)
01ff  c384be    jp      #be84
0202  21861f    ld      hl,#1f86
0205  86        add     a,(hl)
0206  1d        dec     e
0207  86        add     a,(hl)
0208  1b        dec     de
0209  86        add     a,(hl)
020a  19        add     hl,de
020b  86        add     a,(hl)
020c  17        rla     
020d  86        add     a,(hl)
020e  15        dec     d
020f  86        add     a,(hl)
0210  13        inc     de
0211  86        add     a,(hl)
0212  11860f    ld      de,#0f86
0215  86        add     a,(hl)
0216  0d        dec     c
0217  86        add     a,(hl)
0218  0b        dec     bc
0219  86        add     a,(hl)
021a  09        add     hl,bc
021b  86        add     a,(hl)
021c  07        rlca    
021d  86        add     a,(hl)
021e  05        dec     b
021f  86        add     a,(hl)
0220  03        inc     bc
0221  86        add     a,(hl)
0222  fc85f7    call    m,#f785
0225  85        add     a,l
0226  f3        di      
0227  85        add     a,l
0228  ee85      xor     #85
022a  e3        ex      (sp),hl
022b  85        add     a,l
022c  d9        exx     
022d  85        add     a,l
022e  cf        rst     #8
022f  85        add     a,l
0230  c5        push    bc
0231  85        add     a,l
0232  ba        cp      d
0233  85        add     a,l
0234  b1        or      c
0235  85        add     a,l
0236  b0        or      b
0237  85        add     a,l
0238  af        xor     a
0239  85        add     a,l
023a  ae        xor     (hl)
023b  85        add     a,l
023c  ad        xor     l
023d  85        add     a,l
023e  ac        xor     h
023f  85        add     a,l
0240  a4        and     h
0241  85        add     a,l
0242  9b        sbc     a,e
0243  85        add     a,l
0244  93        sub     e
0245  85        add     a,l
0246  8b        adc     a,e
0247  85        add     a,l
0248  83        add     a,e
0249  85        add     a,l
024a  7b        ld      a,e
024b  85        add     a,l
024c  7a        ld      a,d
024d  85        add     a,l
024e  74        ld      (hl),h
024f  85        add     a,l
0250  6e        ld      l,(hl)
0251  85        add     a,l
0252  69        ld      l,c
0253  85        add     a,l
0254  60        ld      h,b
0255  85        add     a,l
0256  5f        ld      e,a
0257  85        add     a,l
0258  58        ld      e,b
0259  85        add     a,l
025a  52        ld      d,d
025b  85        add     a,l
025c  4e        ld      c,(hl)
025d  85        add     a,l
025e  4c        ld      c,h
025f  85        add     a,l
0260  4a        ld      c,d
0261  85        add     a,l
0262  45        ld      b,l
0263  85        add     a,l
0264  41        ld      b,c
0265  85        add     a,l
0266  3c        inc     a
0267  85        add     a,l
0268  37        scf     
0269  85        add     a,l
026a  32852d    ld      (#2d85),a
026d  85        add     a,l
026e  2885      jr      z,#01f5         ; (-123)
0270  17        rla     
0271  85        add     a,l
0272  13        inc     de
0273  85        add     a,l
0274  08        ex      af,af'
0275  85        add     a,l
0276  fd84      add     a,iyh
0278  f1        pop     af
0279  84        add     a,h
027a  e0        ret     po

027b  84        add     a,h
027c  df        rst     #18
027d  84        add     a,h
027e  da84d5    jp      c,#d584
0281  84        add     a,h
0282  d484d3    call    nc,#d384
0285  84        add     a,h
0286  d284d1    jp      nc,#d184
0289  84        add     a,h
028a  cd84cc    call    #cc84
028d  84        add     a,h
028e  ac        xor     h
028f  84        add     a,h
0290  8c        adc     a,h
0291  84        add     a,h
0292  7b        ld      a,e
0293  84        add     a,h
0294  6d        ld      l,l
0295  84        add     a,h
0296  5b        ld      e,e
0297  84        add     a,h
0298  51        ld      d,c
0299  84        add     a,h
029a  40        ld      b,b
029b  84        add     a,h
029c  37        scf     
029d  84        add     a,h
029e  2d        dec     l
029f  84        add     a,h
02a0  1a        ld      a,(de)
02a1  84        add     a,h
02a2  19        add     hl,de
02a3  84        add     a,h
02a4  0c        inc     c
02a5  84        add     a,h
02a6  fe83      cp      #83
02a8  f483ee    call    p,#ee83
02ab  83        add     a,e
02ac  e8        ret     pe

02ad  83        add     a,e
02ae  e483e1    call    po,#e183
02b1  83        add     a,e
02b2  dc83d4    call    c,#d483
02b5  83        add     a,e
02b6  cd83c6    call    #c683
02b9  83        add     a,e
02ba  c1        pop     bc
02bb  83        add     a,e
02bc  b9        cp      c
02bd  83        add     a,e
02be  b1        or      c
02bf  83        add     a,e
02c0  9c        sbc     a,h
02c1  83        add     a,e
02c2  9b        sbc     a,e
02c3  83        add     a,e
02c4  9a        sbc     a,d
02c5  83        add     a,e
02c6  97        sub     a
02c7  83        add     a,e
02c8  95        sub     l
02c9  83        add     a,e
02ca  90        sub     b
02cb  83        add     a,e
02cc  8b        adc     a,e
02cd  83        add     a,e
02ce  88        adc     a,b
02cf  83        add     a,e
02d0  84        add     a,h
02d1  83        add     a,e
02d2  83        add     a,e
02d3  83        add     a,e
02d4  7e        ld      a,(hl)
02d5  83        add     a,e
02d6  79        ld      a,c
02d7  83        add     a,e
02d8  75        ld      (hl),l
02d9  83        add     a,e
02da  6f        ld      l,a
02db  83        add     a,e
02dc  69        ld      l,c
02dd  83        add     a,e
02de  5f        ld      e,a
02df  83        add     a,e
02e0  56        ld      d,(hl)
02e1  83        add     a,e
02e2  51        ld      d,c
02e3  83        add     a,e
02e4  50        ld      d,b
02e5  83        add     a,e
02e6  4f        ld      c,a
02e7  83        add     a,e
02e8  4e        ld      c,(hl)
02e9  83        add     a,e
02ea  4d        ld      c,l
02eb  83        add     a,e
02ec  40        ld      b,b
02ed  83        add     a,e
02ee  3d        dec     a
02ef  83        add     a,e
02f0  3b        dec     sp
02f1  83        add     a,e
02f2  3683      ld      (hl),#83
02f4  31831d    ld      sp,#1d83
02f7  83        add     a,e
02f8  13        inc     de
02f9  83        add     a,e
02fa  0f        rrca    
02fb  83        add     a,e
02fc  08        ex      af,af'
02fd  83        add     a,e
02fe  03        inc     bc
02ff  83        add     a,e
0300  02        ld      (bc),a
0301  83        add     a,e
0302  00        nop     
0303  52        ld      d,d
0304  41        ld      b,c
0305  4d        ld      c,l
0306  2000      jr      nz,#0308        ; (0)
0308  2d        dec     l
0309  4c        ld      c,h
030a  4f        ld      c,a
030b  4f        ld      c,a
030c  50        ld      d,b
030d  3f        ccf     
030e  00        nop     
030f  52        ld      d,d
0310  45        ld      b,l
0311  47        ld      b,a
0312  00        nop     
0313  2043      jr      nz,#0358        ; (67)
0315  48        ld      c,b
0316  45        ld      b,l
0317  43        ld      b,e
0318  4b        ld      c,e
0319  53        ld      d,e
031a  55        ld      d,l
031b  4d        ld      c,l
031c  00        nop     
031d  4e        ld      c,(hl)
031e  4f        ld      c,a
031f  2050      jr      nz,#0371        ; (80)
0321  52        ld      d,d
0322  4f        ld      c,a
0323  47        ld      b,a
0324  52        ld      d,d
0325  41        ld      b,c
0326  4d        ld      c,l
0327  53        ld      d,e
0328  2044      jr      nz,#036e        ; (68)
032a  45        ld      b,l
032b  46        ld      b,(hl)
032c  49        ld      c,c
032d  4e        ld      c,(hl)
032e  45        ld      b,l
032f  44        ld      b,h
0330  00        nop     
0331  4e        ld      c,(hl)
0332  4f        ld      c,a
0333  57        ld      d,a
0334  2000      jr      nz,#0336        ; (0)
0336  57        ld      d,a
0337  41        ld      b,c
0338  49        ld      c,c
0339  54        ld      d,h
033a  00        nop     
033b  2d        dec     l
033c  00        nop     
033d  40        ld      b,b
033e  2000      jr      nz,#0340        ; (0)
0340  53        ld      d,e
0341  54        ld      d,h
0342  45        ld      b,l
0343  50        ld      d,b
0344  2043      jr      nz,#0389        ; (67)
0346  4c        ld      c,h
0347  45        ld      b,l
0348  41        ld      b,c
0349  52        ld      d,d
034a  45        ld      b,l
034b  44        ld      b,h
034c  00        nop     
034d  00        nop     
034e  00        nop     
034f  00        nop     
0350  00        nop     
0351  54        ld      d,h
0352  49        ld      c,c
0353  45        ld      b,l
0354  44        ld      b,h
0355  00        nop     
0356  54        ld      d,h
0357  49        ld      c,c
0358  45        ld      b,l
0359  44        ld      b,h
035a  204c      jr      nz,#03a8        ; (76)
035c  4f        ld      c,a
035d  57        ld      d,a
035e  00        nop     
035f  54        ld      d,h
0360  49        ld      c,c
0361  45        ld      b,l
0362  44        ld      b,h
0363  2048      jr      nz,#03ad        ; (72)
0365  49        ld      c,c
0366  47        ld      b,a
0367  48        ld      c,b
0368  00        nop     
0369  44        ld      b,h
036a  41        ld      b,c
036b  54        ld      d,h
036c  41        ld      b,c
036d  2000      jr      nz,#036f        ; (0)
036f  41        ld      b,c
0370  44        ld      b,h
0371  44        ld      b,h
0372  52        ld      d,d
0373  2000      jr      nz,#0375        ; (0)
0375  4f        ld      c,a
0376  4b        ld      c,e
0377  2000      jr      nz,#0379        ; (0)
0379  42        ld      b,d
037a  49        ld      c,c
037b  54        ld      d,h
037c  2000      jr      nz,#037e        ; (0)
037e  46        ld      b,(hl)
037f  41        ld      b,c
0380  49        ld      c,c
0381  4c        ld      c,h
0382  00        nop     
0383  00        nop     
0384  45        ld      b,l
0385  52        ld      d,d
0386  52        ld      d,d
0387  00        nop     
0388  4f        ld      c,a
0389  4b        ld      c,e
038a  00        nop     
038b  43        ld      b,e
038c  54        ld      d,h
038d  4c        ld      c,h
038e  2000      jr      nz,#0390        ; (0)
0390  53        ld      d,e
0391  54        ld      d,h
0392  53        ld      d,e
0393  2000      jr      nz,#0395        ; (0)
0395  2000      jr      nz,#0397        ; (0)
0397  3d        dec     a
0398  2000      jr      nz,#039a        ; (0)
039a  00        nop     
039b  00        nop     
039c  49        ld      c,c
039d  4e        ld      c,(hl)
039e  53        ld      d,e
039f  55        ld      d,l
03a0  46        ld      b,(hl)
03a1  46        ld      b,(hl)
03a2  49        ld      c,c
03a3  43        ld      b,e
03a4  49        ld      c,c
03a5  45        ld      b,l
03a6  4e        ld      c,(hl)
03a7  54        ld      d,h
03a8  204d      jr      nz,#03f7        ; (77)
03aa  45        ld      b,l
03ab  4d        ld      c,l
03ac  2054      jr      nz,#0402        ; (84)
03ae  4f        ld      c,a
03af  2000      jr      nz,#03b1        ; (0)
03b1  41        ld      b,c
03b2  42        ld      b,d
03b3  4f        ld      c,a
03b4  52        ld      d,d
03b5  54        ld      d,h
03b6  45        ld      b,l
03b7  44        ld      b,h
03b8  00        nop     
03b9  49        ld      c,c
03ba  4c        ld      c,h
03bb  4c        ld      c,h
03bc  45        ld      b,l
03bd  47        ld      b,a
03be  41        ld      b,c
03bf  4c        ld      c,h
03c0  00        nop     
03c1  2042      jr      nz,#0405        ; (66)
03c3  41        ld      b,c
03c4  44        ld      b,h
03c5  00        nop     
03c6  41        ld      b,c
03c7  43        ld      b,e
03c8  54        ld      d,h
03c9  49        ld      c,c
03ca  56        ld      d,(hl)
03cb  45        ld      b,l
03cc  00        nop     
03cd  2020      jr      nz,#03ef        ; (32)
03cf  2020      jr      nz,#03f1        ; (32)
03d1  4e        ld      c,(hl)
03d2  4f        ld      c,a
03d3  00        nop     
03d4  2020      jr      nz,#03f6        ; (32)
03d6  2047      jr      nz,#041f        ; (71)
03d8  4f        ld      c,a
03d9  4f        ld      c,a
03da  44        ld      b,h
03db  00        nop     
03dc  47        ld      b,a
03dd  4f        ld      c,a
03de  4f        ld      c,a
03df  44        ld      b,h
03e0  00        nop     
03e1  4e        ld      c,(hl)
03e2  4f        ld      c,a
03e3  00        nop     
03e4  59        ld      e,c
03e5  45        ld      b,l
03e6  53        ld      d,e
03e7  00        nop     
03e8  2042      jr      nz,#042c        ; (66)
03ea  54        ld      d,h
03eb  53        ld      d,e
03ec  2000      jr      nz,#03ee        ; (0)
03ee  2053      jr      nz,#0443        ; (83)
03f0  49        ld      c,c
03f1  47        ld      b,a
03f2  2000      jr      nz,#03f4        ; (0)
03f4  4f        ld      c,a
03f5  50        ld      d,b
03f6  45        ld      b,l
03f7  4e        ld      c,(hl)
03f8  45        ld      b,l
03f9  44        ld      b,h
03fa  202d      jr      nz,#0429        ; (45)
03fc  2000      jr      nz,#03fe        ; (0)
03fe  53        ld      d,e
03ff  54        ld      d,h
0400  45        ld      b,l
0401  50        ld      d,b
0402  2054      jr      nz,#0458        ; (84)
0404  4f        ld      c,a
0405  4f        ld      c,a
0406  204c      jr      nz,#0454        ; (76)
0408  4f        ld      c,a
0409  4e        ld      c,(hl)
040a  47        ld      b,a
040b  00        nop     
040c  49        ld      c,c
040d  53        ld      d,e
040e  2042      jr      nz,#0452        ; (66)
0410  49        ld      c,c
0411  4e        ld      c,(hl)
0412  41        ld      b,c
0413  52        ld      d,d
0414  59        ld      e,c
0415  202d      jr      nz,#0444        ; (45)
0417  2000      jr      nz,#0419        ; (0)
0419  00        nop     
041a  202d      jr      nz,#0449        ; (45)
041c  41        ld      b,c
041d  54        ld      d,h
041e  54        ld      d,h
041f  45        ld      b,l
0420  4d        ld      c,l
0421  50        ld      d,b
0422  54        ld      d,h
0423  49        ld      c,c
0424  4e        ld      c,(hl)
0425  47        ld      b,a
0426  2052      jr      nz,#047a        ; (82)
0428  45        ld      b,l
0429  53        ld      d,e
042a  45        ld      b,l
042b  54        ld      d,h
042c  00        nop     
042d  2044      jr      nz,#0473        ; (68)
042f  45        ld      b,l
0430  4c        ld      c,h
0431  45        ld      b,l
0432  54        ld      d,h
0433  45        ld      b,l
0434  44        ld      b,h
0435  2d        dec     l
0436  00        nop     
0437  2043      jr      nz,#047c        ; (67)
0439  4c        ld      c,h
043a  4f        ld      c,a
043b  53        ld      d,e
043c  45        ld      b,l
043d  44        ld      b,h
043e  2d        dec     l
043f  00        nop     
0440  46        ld      b,(hl)
0441  4c        ld      c,h
0442  55        ld      d,l
0443  4b        ld      c,e
0444  45        ld      b,l
0445  2039      jr      nz,#0480        ; (57)
0447  3030      jr      nc,#0479        ; (48)
0449  3020      jr      nc,#046b        ; (32)
044b  52        ld      d,d
044c  45        ld      b,l
044d  41        ld      b,c
044e  44        ld      b,h
044f  59        ld      e,c
0450  00        nop     
0451  2043      jr      nz,#0496        ; (67)
0453  4f        ld      c,a
0454  4d        ld      c,l
0455  50        ld      d,b
0456  4c        ld      c,h
0457  45        ld      b,l
0458  54        ld      d,h
0459  45        ld      b,l
045a  00        nop     
045b  2d        dec     l
045c  2057      jr      nz,#04b5        ; (87)
045e  52        ld      d,d
045f  49        ld      c,c
0460  54        ld      d,h
0461  45        ld      b,l
0462  2050      jr      nz,#04b4        ; (80)
0464  52        ld      d,d
0465  4f        ld      c,a
0466  54        ld      d,h
0467  45        ld      b,l
0468  43        ld      b,e
0469  54        ld      d,h
046a  45        ld      b,l
046b  44        ld      b,h
046c  00        nop     
046d  2d        dec     l
046e  204e      jr      nz,#04be        ; (78)
0470  4f        ld      c,a
0471  2043      jr      nz,#04b6        ; (67)
0473  41        ld      b,c
0474  53        ld      d,e
0475  53        ld      d,e
0476  45        ld      b,l
0477  54        ld      d,h
0478  54        ld      d,h
0479  45        ld      b,l
047a  00        nop     
047b  202d      jr      nz,#04aa        ; (45)
047d  2041      jr      nz,#04c0        ; (65)
047f  52        ld      d,d
0480  45        ld      b,l
0481  2059      jr      nz,#04dc        ; (89)
0483  4f        ld      c,a
0484  55        ld      d,l
0485  2053      jr      nz,#04da        ; (83)
0487  55        ld      d,l
0488  52        ld      d,d
0489  45        ld      b,l
048a  3f        ccf     
048b  00        nop     
048c  46        ld      b,(hl)
048d  41        ld      b,c
048e  54        ld      d,h
048f  41        ld      b,c
0490  4c        ld      c,h
0491  2d        dec     l
0492  4d        ld      c,l
0493  45        ld      b,l
0494  4d        ld      c,l
0495  4f        ld      c,a
0496  52        ld      d,d
0497  59        ld      e,c
0498  2045      jr      nz,#04df        ; (69)
049a  58        ld      e,b
049b  43        ld      b,e
049c  45        ld      b,l
049d  45        ld      b,l
049e  44        ld      b,h
049f  45        ld      b,l
04a0  44        ld      b,h
04a1  2046      jr      nz,#04e9        ; (70)
04a3  4f        ld      c,a
04a4  52        ld      d,d
04a5  204c      jr      nz,#04f3        ; (76)
04a7  45        ld      b,l
04a8  41        ld      b,c
04a9  52        ld      d,d
04aa  4e        ld      c,(hl)
04ab  00        nop     
04ac  52        ld      d,d
04ad  45        ld      b,l
04ae  50        ld      d,b
04af  4c        ld      c,h
04b0  41        ld      b,c
04b1  43        ld      b,e
04b2  45        ld      b,l
04b3  2050      jr      nz,#0505        ; (80)
04b5  52        ld      d,d
04b6  4f        ld      c,a
04b7  42        ld      b,d
04b8  45        ld      b,l
04b9  2046      jr      nz,#0501        ; (70)
04bb  55        ld      d,l
04bc  53        ld      d,e
04bd  45        ld      b,l
04be  2f        cpl     
04bf  55        ld      d,l
04c0  4e        ld      c,(hl)
04c1  50        ld      d,b
04c2  4c        ld      c,h
04c3  55        ld      d,l
04c4  47        ld      b,a
04c5  2050      jr      nz,#0517        ; (80)
04c7  52        ld      d,d
04c8  4f        ld      c,a
04c9  42        ld      b,d
04ca  45        ld      b,l
04cb  00        nop     
04cc  00        nop     
04cd  52        ld      d,d
04ce  45        ld      b,l
04cf  47        ld      b,a
04d0  00        nop     
04d1  00        nop     
04d2  00        nop     
04d3  00        nop     
04d4  00        nop     
04d5  41        ld      b,c
04d6  55        ld      d,l
04d7  58        ld      e,b
04d8  2d        dec     l
04d9  00        nop     
04da  44        ld      b,h
04db  50        ld      d,b
04dc  59        ld      e,c
04dd  2d        dec     l
04de  00        nop     
04df  00        nop     
04e0  53        ld      d,e
04e1  59        ld      e,c
04e2  4e        ld      c,(hl)
04e3  43        ld      b,e
04e4  204d      jr      nz,#0533        ; (77)
04e6  4f        ld      c,a
04e7  44        ld      b,h
04e8  45        ld      b,l
04e9  203c      jr      nz,#0527        ; (60)
04eb  302d      jr      nc,#051a        ; (45)
04ed  46        ld      b,(hl)
04ee  3e20      ld      a,#20
04f0  00        nop     
04f1  57        ld      d,a
04f2  52        ld      d,d
04f3  49        ld      c,c
04f4  54        ld      d,h
04f5  45        ld      b,l
04f6  2054      jr      nz,#054c        ; (84)
04f8  41        ld      b,c
04f9  50        ld      d,b
04fa  45        ld      b,l
04fb  2000      jr      nz,#04fd        ; (0)
04fd  52        ld      d,d
04fe  45        ld      b,l
04ff  41        ld      b,c
0500  44        ld      b,h
0501  2054      jr      nz,#0557        ; (84)
0503  41        ld      b,c
0504  50        ld      d,b
0505  45        ld      b,l
0506  2000      jr      nz,#0508        ; (0)
0508  52        ld      d,d
0509  45        ld      b,l
050a  41        ld      b,c
050b  44        ld      b,h
050c  2050      jr      nz,#055e        ; (80)
050e  52        ld      d,d
050f  4f        ld      c,a
0510  42        ld      b,d
0511  45        ld      b,l
0512  00        nop     
0513  52        ld      d,d
0514  45        ld      b,l
0515  47        ld      b,a
0516  00        nop     
0517  45        ld      b,l
0518  58        ld      e,b
0519  45        ld      b,l
051a  43        ld      b,e
051b  55        ld      d,l
051c  54        ld      d,h
051d  45        ld      b,l
051e  2050      jr      nz,#0570        ; (80)
0520  52        ld      d,d
0521  4f        ld      c,a
0522  47        ld      b,a
0523  52        ld      d,d
0524  41        ld      b,c
0525  4d        ld      c,l
0526  2000      jr      nz,#0528        ; (0)
0528  43        ld      b,e
0529  50        ld      d,b
052a  4c        ld      c,h
052b  2000      jr      nz,#052d        ; (0)
052d  44        ld      b,h
052e  45        ld      b,l
052f  43        ld      b,e
0530  2000      jr      nz,#0532        ; (0)
0532  49        ld      c,c
0533  4e        ld      c,(hl)
0534  43        ld      b,e
0535  2000      jr      nz,#0537        ; (0)
0537  53        ld      d,e
0538  48        ld      c,b
0539  52        ld      d,d
053a  2000      jr      nz,#053c        ; (0)
053c  53        ld      d,e
053d  48        ld      c,b
053e  4c        ld      c,h
053f  2000      jr      nz,#0541        ; (0)
0541  4f        ld      c,a
0542  52        ld      d,d
0543  2000      jr      nz,#0545        ; (0)
0545  41        ld      b,c
0546  4e        ld      c,(hl)
0547  44        ld      b,h
0548  2000      jr      nz,#054a        ; (0)
054a  3d        dec     a
054b  00        nop     
054c  3e00      ld      a,#00
054e  49        ld      c,c
054f  46        ld      b,(hl)
0550  2000      jr      nz,#0552        ; (0)
0552  47        ld      b,a
0553  4f        ld      c,a
0554  54        ld      d,h
0555  4f        ld      c,a
0556  2000      jr      nz,#0558        ; (0)
0558  4c        ld      c,h
0559  41        ld      b,c
055a  42        ld      b,d
055b  45        ld      b,l
055c  4c        ld      c,h
055d  2000      jr      nz,#055f        ; (0)
055f  00        nop     
0560  52        ld      d,d
0561  55        ld      d,l
0562  4e        ld      c,(hl)
0563  2055      jr      nz,#05ba        ; (85)
0565  55        ld      d,l
0566  54        ld      d,h
0567  2000      jr      nz,#0569        ; (0)
0569  53        ld      d,e
056a  54        ld      d,h
056b  4f        ld      c,a
056c  50        ld      d,b
056d  00        nop     
056e  4c        ld      c,h
056f  4f        ld      c,a
0570  4f        ld      c,a
0571  50        ld      d,b
0572  2000      jr      nz,#0574        ; (0)
0574  52        ld      d,d
0575  45        ld      b,l
0576  50        ld      d,b
0577  54        ld      d,h
0578  2000      jr      nz,#057a        ; (0)
057a  00        nop     
057b  44        ld      b,h
057c  54        ld      d,h
057d  4f        ld      c,a
057e  47        ld      b,a
057f  2040      jr      nz,#05c1        ; (64)
0581  2000      jr      nz,#0583        ; (0)
0583  41        ld      b,c
0584  54        ld      d,h
0585  4f        ld      c,a
0586  47        ld      b,a
0587  2040      jr      nz,#05c9        ; (64)
0589  2000      jr      nz,#058b        ; (0)
058b  57        ld      d,a
058c  41        ld      b,c
058d  4c        ld      c,h
058e  4b        ld      c,e
058f  2040      jr      nz,#05d1        ; (64)
0591  2000      jr      nz,#0593        ; (0)
0593  52        ld      d,d
0594  41        ld      b,c
0595  4d        ld      c,l
0596  50        ld      d,b
0597  2040      jr      nz,#05d9        ; (64)
0599  2000      jr      nz,#059b        ; (0)
059b  57        ld      d,a
059c  52        ld      d,d
059d  49        ld      c,c
059e  54        ld      d,h
059f  45        ld      b,l
05a0  2040      jr      nz,#05e2        ; (64)
05a2  2000      jr      nz,#05a4        ; (0)
05a4  52        ld      d,d
05a5  45        ld      b,l
05a6  41        ld      b,c
05a7  44        ld      b,h
05a8  2040      jr      nz,#05ea        ; (64)
05aa  2000      jr      nz,#05ac        ; (0)
05ac  00        nop     
05ad  00        nop     
05ae  00        nop     
05af  00        nop     
05b0  00        nop     
05b1  49        ld      c,c
05b2  4f        ld      c,a
05b3  2054      jr      nz,#0609        ; (84)
05b5  45        ld      b,l
05b6  53        ld      d,e
05b7  54        ld      d,h
05b8  2000      jr      nz,#05ba        ; (0)
05ba  52        ld      d,d
05bb  41        ld      b,c
05bc  4d        ld      c,l
05bd  2053      jr      nz,#0612        ; (83)
05bf  48        ld      c,b
05c0  4f        ld      c,a
05c1  52        ld      d,d
05c2  54        ld      d,h
05c3  2000      jr      nz,#05c5        ; (0)
05c5  52        ld      d,d
05c6  41        ld      b,c
05c7  4d        ld      c,l
05c8  204c      jr      nz,#0616        ; (76)
05ca  4f        ld      c,a
05cb  4e        ld      c,(hl)
05cc  47        ld      b,a
05cd  2000      jr      nz,#05cf        ; (0)
05cf  52        ld      d,d
05d0  4f        ld      c,a
05d1  4d        ld      c,l
05d2  2054      jr      nz,#0628        ; (84)
05d4  45        ld      b,l
05d5  53        ld      d,e
05d6  54        ld      d,h
05d7  2000      jr      nz,#05d9        ; (0)
05d9  42        ld      b,d
05da  55        ld      d,l
05db  53        ld      d,e
05dc  2054      jr      nz,#0632        ; (84)
05de  45        ld      b,l
05df  53        ld      d,e
05e0  54        ld      d,h
05e1  2000      jr      nz,#05e3        ; (0)
05e3  41        ld      b,c
05e4  55        ld      d,l
05e5  54        ld      d,h
05e6  4f        ld      c,a
05e7  2054      jr      nz,#063d        ; (84)
05e9  45        ld      b,l
05ea  53        ld      d,e
05eb  54        ld      d,h
05ec  2000      jr      nz,#05ee        ; (0)
05ee  52        ld      d,d
05ef  4f        ld      c,a
05f0  4d        ld      c,l
05f1  2000      jr      nz,#05f3        ; (0)
05f3  49        ld      c,c
05f4  4f        ld      c,a
05f5  2000      jr      nz,#05f7        ; (0)
05f7  52        ld      d,d
05f8  41        ld      b,c
05f9  4d        ld      c,l
05fa  2000      jr      nz,#05fc        ; (0)
05fc  4c        ld      c,h
05fd  45        ld      b,l
05fe  41        ld      b,c
05ff  52        ld      d,d
0600  4e        ld      c,(hl)
0601  2000      jr      nz,#0603        ; (0)
0603  46        ld      b,(hl)
0604  00        nop     
0605  45        ld      b,l
0606  00        nop     
0607  44        ld      b,h
0608  00        nop     
0609  43        ld      b,e
060a  00        nop     
060b  42        ld      b,d
060c  00        nop     
060d  41        ld      b,c
060e  00        nop     
060f  39        add     hl,sp
0610  00        nop     
0611  3800      jr      c,#0613         ; (0)
0613  37        scf     
0614  00        nop     
0615  3600      ld      (hl),#00
0617  35        dec     (hl)
0618  00        nop     
0619  34        inc     (hl)
061a  00        nop     
061b  33        inc     sp
061c  00        nop     
061d  320031    ld      (#3100),a
0620  00        nop     
0621  3000      jr      nc,#0623        ; (0)
0623  e7        rst     #20
0624  21f9ff    ld      hl,#fff9
0627  39        add     hl,sp
0628  f9        ld      sp,hl
0629  dd6e04    ld      l,(ix+#04)
062c  dd6605    ld      h,(ix+#05)
062f  dd3404    inc     (ix+#04)
0632  2003      jr      nz,#0637        ; (3)
0634  dd3405    inc     (ix+#05)
0637  7e        ld      a,(hl)
0638  3276f5    ld      (#f576),a
063b  dd36f900  ld      (ix-#07),#00
063f  2176f5    ld      hl,#f576
0642  dd7ef9    ld      a,(ix-#07)
0645  be        cp      (hl)
0646  301e      jr      nc,#0666        ; (30)
0648  2146f5    ld      hl,#f546
064b  dd5ef9    ld      e,(ix-#07)
064e  97        sub     a
064f  57        ld      d,a
0650  19        add     hl,de
0651  dd4e04    ld      c,(ix+#04)
0654  dd4605    ld      b,(ix+#05)
0657  dd3404    inc     (ix+#04)
065a  2003      jr      nz,#065f        ; (3)
065c  dd3405    inc     (ix+#05)
065f  0a        ld      a,(bc)
0660  77        ld      (hl),a
0661  dd34f9    inc     (ix-#07)
0664  18d9      jr      #063f           ; (-39)
0666  3a40f1    ld      a,(#f140)
0669  fe03      cp      #03
066b  2803      jr      z,#0670         ; (3)
066d  cd7386    call    #8673
0670  c384be    jp      #be84
0673  f7        rst     #30
0674  f5        push    af
0675  f5        push    af
0676  f5        push    af
0677  f5        push    af
0678  3a79f6    ld      a,(#f679)
067b  b7        or      a
067c  2803      jr      z,#0681         ; (3)
067e  c372be    jp      #be72
0681  97        sub     a
0682  3277f6    ld      (#f677),a
0685  dd36f900  ld      (ix-#07),#00
0689  2176f5    ld      hl,#f576
068c  dd7ef9    ld      a,(ix-#07)
068f  be        cp      (hl)
0690  3046      jr      nc,#06d8        ; (70)
0692  2146f5    ld      hl,#f546
0695  dd7ef9    ld      a,(ix-#07)
0698  5f        ld      e,a
0699  87        add     a,a
069a  9f        sbc     a,a
069b  57        ld      d,a
069c  19        add     hl,de
069d  7e        ld      a,(hl)
069e  dd77f8    ld      (ix-#08),a
06a1  dd7ef8    ld      a,(ix-#08)
06a4  fe68      cp      #68
06a6  c2fa86    jp      nz,#86fa
06a9  3a77f6    ld      a,(#f677)
06ac  6f        ld      l,a
06ad  3a77f6    ld      a,(#f677)
06b0  c601      add     a,#01
06b2  3277f6    ld      (#f677),a
06b5  4d        ld      c,l
06b6  97        sub     a
06b7  47        ld      b,a
06b8  69        ld      l,c
06b9  60        ld      h,b
06ba  0177f5    ld      bc,#f577
06bd  09        add     hl,bc
06be  e5        push    hl
06bf  dd34f9    inc     (ix-#07)
06c2  dd7ef9    ld      a,(ix-#07)
06c5  4f        ld      c,a
06c6  87        add     a,a
06c7  9f        sbc     a,a
06c8  47        ld      b,a
06c9  69        ld      l,c
06ca  60        ld      h,b
06cb  0146f5    ld      bc,#f546
06ce  09        add     hl,bc
06cf  c1        pop     bc
06d0  7e        ld      a,(hl)
06d1  02        ld      (bc),a
06d2  b7        or      a
06d3  ca2a87    jp      z,#872a
06d6  18d1      jr      #06a9           ; (-47)
06d8  3a78f6    ld      a,(#f678)
06db  fe01      cp      #01
06dd  c24f87    jp      nz,#874f
06e0  3a77f6    ld      a,(#f677)
06e3  6f        ld      l,a
06e4  3a77f6    ld      a,(#f677)
06e7  c601      add     a,#01
06e9  3277f6    ld      (#f677),a
06ec  4d        ld      c,l
06ed  97        sub     a
06ee  47        ld      b,a
06ef  69        ld      l,c
06f0  60        ld      h,b
06f1  0177f5    ld      bc,#f577
06f4  09        add     hl,bc
06f5  365f      ld      (hl),#5f
06f7  c34f87    jp      #874f
06fa  dd6ef8    ld      l,(ix-#08)
06fd  7d        ld      a,l
06fe  e680      and     #80
0700  6f        ld      l,a
0701  2831      jr      z,#0734         ; (49)
0703  3a77f6    ld      a,(#f677)
0706  6f        ld      l,a
0707  3a77f6    ld      a,(#f677)
070a  c601      add     a,#01
070c  3277f6    ld      (#f677),a
070f  4d        ld      c,l
0710  97        sub     a
0711  47        ld      b,a
0712  69        ld      l,c
0713  60        ld      h,b
0714  0177f5    ld      bc,#f577
0717  09        add     hl,bc
0718  dd7ef8    ld      a,(ix-#08)
071b  5f        ld      e,a
071c  87        add     a,a
071d  9f        sbc     a,a
071e  57        ld      d,a
071f  7b        ld      a,e
0720  e67f      and     #7f
0722  5f        ld      e,a
0723  7a        ld      a,d
0724  e6ff      and     #ff
0726  57        ld      d,a
0727  73        ld      (hl),e
0728  181f      jr      #0749           ; (31)
072a  3a77f6    ld      a,(#f677)
072d  d601      sub     #01
072f  3277f6    ld      (#f677),a
0732  1815      jr      #0749           ; (21)
0734  dd7ef8    ld      a,(ix-#08)
0737  4f        ld      c,a
0738  87        add     a,a
0739  9f        sbc     a,a
073a  47        ld      b,a
073b  69        ld      l,c
073c  60        ld      h,b
073d  29        add     hl,hl
073e  010282    ld      bc,#8202
0741  09        add     hl,bc
0742  7e        ld      a,(hl)
0743  23        inc     hl
0744  66        ld      h,(hl)
0745  6f        ld      l,a
0746  cd7e87    call    #877e
0749  dd34f9    inc     (ix-#07)
074c  c38986    jp      #8689
074f  2177f5    ld      hl,#f577
0752  3a77f6    ld      a,(#f677)
0755  5f        ld      e,a
0756  97        sub     a
0757  57        ld      d,a
0758  19        add     hl,de
0759  3600      ld      (hl),#00
075b  3acbf0    ld      a,(#f0cb)
075e  b7        or      a
075f  2811      jr      z,#0772         ; (17)
0761  3ab8f0    ld      a,(#f0b8)
0764  b7        or      a
0765  2814      jr      z,#077b         ; (20)
0767  2177f5    ld      hl,#f577
076a  cd3fa6    call    #a63f
076d  cde1a5    call    #a5e1
0770  1809      jr      #077b           ; (9)
0772  2e01      ld      l,#01
0774  e5        push    hl
0775  2177f5    ld      hl,#f577
0778  cd53b3    call    #b353
077b  c372be    jp      #be72
077e  e7        rst     #20
077f  21f9ff    ld      hl,#fff9
0782  39        add     hl,sp
0783  f9        ld      sp,hl
0784  dd36f900  ld      (ix-#07),#00
0788  dd6e04    ld      l,(ix+#04)
078b  dd6605    ld      h,(ix+#05)
078e  dd7ef9    ld      a,(ix-#07)
0791  5f        ld      e,a
0792  87        add     a,a
0793  9f        sbc     a,a
0794  57        ld      d,a
0795  19        add     hl,de
0796  7e        ld      a,(hl)
0797  b7        or      a
0798  282c      jr      z,#07c6         ; (44)
079a  3a77f6    ld      a,(#f677)
079d  6f        ld      l,a
079e  3a77f6    ld      a,(#f677)
07a1  c601      add     a,#01
07a3  3277f6    ld      (#f677),a
07a6  4d        ld      c,l
07a7  97        sub     a
07a8  47        ld      b,a
07a9  69        ld      l,c
07aa  60        ld      h,b
07ab  0177f5    ld      bc,#f577
07ae  09        add     hl,bc
07af  e5        push    hl
07b0  dd6e04    ld      l,(ix+#04)
07b3  dd6605    ld      h,(ix+#05)
07b6  dd7ef9    ld      a,(ix-#07)
07b9  5f        ld      e,a
07ba  87        add     a,a
07bb  9f        sbc     a,a
07bc  57        ld      d,a
07bd  19        add     hl,de
07be  c1        pop     bc
07bf  7e        ld      a,(hl)
07c0  02        ld      (bc),a
07c1  dd34f9    inc     (ix-#07)
07c4  18c2      jr      #0788           ; (-62)
07c6  c384be    jp      #be84
07c9  e7        rst     #20
07ca  21f7ff    ld      hl,#fff7
07cd  39        add     hl,sp
07ce  f9        ld      sp,hl
07cf  dd36f900  ld      (ix-#07),#00
07d3  dd36f800  ld      (ix-#08),#00
07d7  2176f5    ld      hl,#f576
07da  dd7ef9    ld      a,(ix-#07)
07dd  be        cp      (hl)
07de  302e      jr      nc,#080e        ; (46)
07e0  2146f5    ld      hl,#f546
07e3  dd5ef9    ld      e,(ix-#07)
07e6  97        sub     a
07e7  57        ld      d,a
07e8  19        add     hl,de
07e9  7e        ld      a,(hl)
07ea  dd77f7    ld      (ix-#09),a
07ed  dd7ef7    ld      a,(ix-#09)
07f0  fe40      cp      #40
07f2  fa1488    jp      m,#8814
07f5  dd7ef7    ld      a,(ix-#09)
07f8  fe44      cp      #44
07fa  2818      jr      z,#0814         ; (24)
07fc  dd7ef7    ld      a,(ix-#09)
07ff  fe74      cp      #74
0801  2811      jr      z,#0814         ; (17)
0803  dd6ef7    ld      l,(ix-#09)
0806  7d        ld      a,l
0807  e680      and     #80
0809  6f        ld      l,a
080a  2820      jr      z,#082c         ; (32)
080c  1806      jr      #0814           ; (6)
080e  dd4ef8    ld      c,(ix-#08)
0811  c384be    jp      #be84
0814  dd6ef8    ld      l,(ix-#08)
0817  e5        push    hl
0818  dd34f8    inc     (ix-#08)
081b  e1        pop     hl
081c  4d        ld      c,l
081d  97        sub     a
081e  47        ld      b,a
081f  69        ld      l,c
0820  60        ld      h,b
0821  dd4e04    ld      c,(ix+#04)
0824  dd4605    ld      b,(ix+#05)
0827  09        add     hl,bc
0828  dd7ef7    ld      a,(ix-#09)
082b  77        ld      (hl),a
082c  dd34f9    inc     (ix-#07)
082f  c3d787    jp      #87d7
0832  0b        dec     bc
0833  0c        inc     c
0834  0d        dec     c
0835  0e03      ld      c,#03
0837  27        daa     
0838  2625      ld      h,#25
083a  b7        or      a
083b  8a        adc     a,d
083c  b4        or      h
083d  8a        adc     a,d
083e  8c        adc     a,h
083f  8a        adc     a,d
0840  63        ld      h,e
0841  8a        adc     a,d
0842  04        inc     b
0843  2627      ld      h,#27
0845  2825      jr      z,#086c         ; (37)
0847  bd        cp      l
0848  8a        adc     a,d
0849  ba        cp      d
084a  8a        adc     a,d
084b  388a      jr      c,#07d7         ; (-118)
084d  12        ld      (de),a
084e  8a        adc     a,d
084f  e7        rst     #20
0850  89        adc     a,c
0851  e7        rst     #20
0852  21f0ff    ld      hl,#fff0
0855  39        add     hl,sp
0856  f9        ld      sp,hl
0857  3a34f1    ld      a,(#f134)
085a  dd77f7    ld      (ix-#09),a
085d  2e08      ld      l,#08
085f  cd36b1    call    #b136
0862  3a40f1    ld      a,(#f140)
0865  fe02      cp      #02
0867  200c      jr      nz,#0875        ; (12)
0869  cd229a    call    #9a22
086c  79        ld      a,c
086d  fe01      cp      #01
086f  c2e488    jp      nz,#88e4
0872  c34f89    jp      #894f
0875  dd7e04    ld      a,(ix+#04)
0878  b7        or      a
0879  2804      jr      z,#087f         ; (4)
087b  0e01      ld      c,#01
087d  1802      jr      #0881           ; (2)
087f  0e00      ld      c,#00
0881  79        ld      a,c
0882  f602      or      #02
0884  4f        ld      c,a
0885  5f        ld      e,a
0886  87        add     a,a
0887  9f        sbc     a,a
0888  57        ld      d,a
0889  dd73f4    ld      (ix-#0c),e
088c  dd72f5    ld      (ix-#0b),d
088f  dd6ef4    ld      l,(ix-#0c)
0892  dd66f5    ld      h,(ix-#0b)
0895  013288    ld      bc,#8832
0898  09        add     hl,bc
0899  7e        ld      a,(hl)
089a  dd77f3    ld      (ix-#0d),a
089d  3a3df1    ld      a,(#f13d)
08a0  dd77f8    ld      (ix-#08),a
08a3  3e78      ld      a,#78
08a5  323df1    ld      (#f13d),a
08a8  6f        ld      l,a
08a9  e5        push    hl
08aa  2eff      ld      l,#ff
08ac  cd657f    call    #7f65
08af  dd36f202  ld      (ix-#0e),#02
08b3  3a40f1    ld      a,(#f140)
08b6  fe03      cp      #03
08b8  2004      jr      nz,#08be        ; (4)
08ba  0e00      ld      c,#00
08bc  1802      jr      #08c0           ; (2)
08be  0e01      ld      c,#01
08c0  79        ld      a,c
08c1  32a0f1    ld      (#f1a0),a
08c4  dd6e04    ld      l,(ix+#04)
08c7  dd4e06    ld      c,(ix+#06)
08ca  dd4607    ld      b,(ix+#07)
08cd  cd1eb9    call    #b91e
08d0  dd71f1    ld      (ix-#0f),c
08d3  dd7ef1    ld      a,(ix-#0f)
08d6  fe02      cp      #02
08d8  ca6689    jp      z,#8966
08db  dd7ef1    ld      a,(ix-#0f)
08de  dd77f2    ld      (ix-#0e),a
08e1  c36689    jp      #8966
08e4  2e17      ld      l,#17
08e6  cd9573    call    #7395
08e9  2e00      ld      l,#00
08eb  e5        push    hl
08ec  3a27f1    ld      a,(#f127)
08ef  6f        ld      l,a
08f0  cd9c75    call    #759c
08f3  79        ld      a,c
08f4  fe01      cp      #01
08f6  2819      jr      z,#0911         ; (25)
08f8  2127f1    ld      hl,#f127
08fb  3e0f      ld      a,#0f
08fd  be        cp      (hl)
08fe  f21189    jp      p,#8911
0901  3a27f1    ld      a,(#f127)
0904  fe27      cp      #27
0906  2822      jr      z,#092a         ; (34)
0908  3a27f1    ld      a,(#f127)
090b  fe26      cp      #26
090d  2026      jr      nz,#0935        ; (38)
090f  1819      jr      #092a           ; (25)
0911  cde6b8    call    #b8e6
0914  dd6ef7    ld      l,(ix-#09)
0917  cd51b1    call    #b151
091a  dd7ef8    ld      a,(ix-#08)
091d  323df1    ld      (#f13d),a
0920  3e01      ld      a,#01
0922  32a0f1    ld      (#f1a0),a
0925  0e02      ld      c,#02
0927  c393be    jp      #be93
092a  3a27f1    ld      a,(#f127)
092d  6f        ld      l,a
092e  d7        rst     #10
092f  79        ld      a,c
0930  b7        or      a
0931  2008      jr      nz,#093b        ; (8)
0933  181a      jr      #094f           ; (26)
0935  cd6f73    call    #736f
0938  c3e488    jp      #88e4
093b  3a27f1    ld      a,(#f127)
093e  6f        ld      l,a
093f  cdeda2    call    #a2ed
0942  79        ld      a,c
0943  fe01      cp      #01
0945  2808      jr      z,#094f         ; (8)
0947  3a27f1    ld      a,(#f127)
094a  fe27      cp      #27
094c  c2e488    jp      nz,#88e4
094f  dd6ef7    ld      l,(ix-#09)
0952  cd51b1    call    #b151
0955  dd7ef8    ld      a,(ix-#08)
0958  323df1    ld      (#f13d),a
095b  3e01      ld      a,#01
095d  32a0f1    ld      (#f1a0),a
0960  dd4ef2    ld      c,(ix-#0e)
0963  c393be    jp      #be93
0966  dd7ef2    ld      a,(ix-#0e)
0969  b7        or      a
096a  2004      jr      nz,#0970        ; (4)
096c  0e66      ld      c,#66
096e  180d      jr      #097d           ; (13)
0970  dd7ef2    ld      a,(ix-#0e)
0973  fe01      cp      #01
0975  2004      jr      nz,#097b        ; (4)
0977  0e69      ld      c,#69
0979  1802      jr      #097d           ; (2)
097b  0e78      ld      c,#78
097d  dd71f0    ld      (ix-#10),c
0980  213df1    ld      hl,#f13d
0983  dd7ef0    ld      a,(ix-#10)
0986  be        cp      (hl)
0987  280d      jr      z,#0996         ; (13)
0989  dd7ef0    ld      a,(ix-#10)
098c  323df1    ld      (#f13d),a
098f  6f        ld      l,a
0990  e5        push    hl
0991  2eff      ld      l,#ff
0993  cd657f    call    #7f65
0996  3a34f1    ld      a,(#f134)
0999  e608      and     #08
099b  282b      jr      z,#09c8         ; (43)
099d  dd7ef4    ld      a,(ix-#0c)
09a0  e6fd      and     #fd
09a2  dd77f4    ld      (ix-#0c),a
09a5  dd7ef5    ld      a,(ix-#0b)
09a8  e6ff      and     #ff
09aa  dd77f5    ld      (ix-#0b),a
09ad  dd6ef4    ld      l,(ix-#0c)
09b0  dd66f5    ld      h,(ix-#0b)
09b3  013288    ld      bc,#8832
09b6  09        add     hl,bc
09b7  7e        ld      a,(hl)
09b8  dd77f3    ld      (ix-#0d),a
09bb  dd6ef3    ld      l,(ix-#0d)
09be  cd7c76    call    #767c
09c1  79        ld      a,c
09c2  b7        or      a
09c3  201c      jr      nz,#09e1        ; (28)
09c5  c3c488    jp      #88c4
09c8  dd36f900  ld      (ix-#07),#00
09cc  dd6ef3    ld      l,(ix-#0d)
09cf  cd9573    call    #7395
09d2  2e08      ld      l,#08
09d4  cd36b1    call    #b136
09d7  3a27f1    ld      a,(#f127)
09da  4f        ld      c,a
09db  214288    ld      hl,#8842
09de  c3edb8    jp      #b8ed
09e1  dd36f901  ld      (ix-#07),#01
09e5  18e5      jr      #09cc           ; (-27)
09e7  3e78      ld      a,#78
09e9  323df1    ld      (#f13d),a
09ec  6f        ld      l,a
09ed  e5        push    hl
09ee  2eff      ld      l,#ff
09f0  cd657f    call    #7f65
09f3  2e7b      ld      l,#7b
09f5  cf        rst     #8
09f6  dd7ef4    ld      a,(ix-#0c)
09f9  f602      or      #02
09fb  dd77f4    ld      (ix-#0c),a
09fe  dd6ef4    ld      l,(ix-#0c)
0a01  dd66f5    ld      h,(ix-#0b)
0a04  013288    ld      bc,#8832
0a07  09        add     hl,bc
0a08  7e        ld      a,(hl)
0a09  dd77f3    ld      (ix-#0d),a
0a0c  c3c488    jp      #88c4
0a0f  c3c488    jp      #88c4
0a12  2e08      ld      l,#08
0a14  cd1fb1    call    #b11f
0a17  dd7ef4    ld      a,(ix-#0c)
0a1a  e6fd      and     #fd
0a1c  dd77f4    ld      (ix-#0c),a
0a1f  dd7ef5    ld      a,(ix-#0b)
0a22  e6ff      and     #ff
0a24  dd77f5    ld      (ix-#0b),a
0a27  dd6ef4    ld      l,(ix-#0c)
0a2a  dd66f5    ld      h,(ix-#0b)
0a2d  013288    ld      bc,#8832
0a30  09        add     hl,bc
0a31  7e        ld      a,(hl)
0a32  dd77f3    ld      (ix-#0d),a
0a35  c3c488    jp      #88c4
0a38  dd7ef9    ld      a,(ix-#07)
0a3b  b7        or      a
0a3c  ca1189    jp      z,#8911
0a3f  2e04      ld      l,#04
0a41  cd1fb1    call    #b11f
0a44  dd7e04    ld      a,(ix+#04)
0a47  b7        or      a
0a48  2804      jr      z,#0a4e         ; (4)
0a4a  0e10      ld      c,#10
0a4c  1802      jr      #0a50           ; (2)
0a4e  0e0f      ld      c,#0f
0a50  69        ld      l,c
0a51  cd9573    call    #7395
0a54  2e04      ld      l,#04
0a56  cd36b1    call    #b136
0a59  3a27f1    ld      a,(#f127)
0a5c  4f        ld      c,a
0a5d  213688    ld      hl,#8836
0a60  c3edb8    jp      #b8ed
0a63  2e08      ld      l,#08
0a65  cd1fb1    call    #b11f
0a68  dd7ef4    ld      a,(ix-#0c)
0a6b  e6fd      and     #fd
0a6d  dd77f4    ld      (ix-#0c),a
0a70  dd7ef5    ld      a,(ix-#0b)
0a73  e6ff      and     #ff
0a75  dd77f5    ld      (ix-#0b),a
0a78  dd6ef4    ld      l,(ix-#0c)
0a7b  dd66f5    ld      h,(ix-#0b)
0a7e  013288    ld      bc,#8832
0a81  09        add     hl,bc
0a82  7e        ld      a,(hl)
0a83  dd77f3    ld      (ix-#0d),a
0a86  c3c488    jp      #88c4
0a89  c3c488    jp      #88c4
0a8c  3e78      ld      a,#78
0a8e  323df1    ld      (#f13d),a
0a91  6f        ld      l,a
0a92  e5        push    hl
0a93  2eff      ld      l,#ff
0a95  cd657f    call    #7f65
0a98  2e7b      ld      l,#7b
0a9a  cf        rst     #8
0a9b  dd7ef4    ld      a,(ix-#0c)
0a9e  f602      or      #02
0aa0  dd77f4    ld      (ix-#0c),a
0aa3  dd6ef4    ld      l,(ix-#0c)
0aa6  dd66f5    ld      h,(ix-#0b)
0aa9  013288    ld      bc,#8832
0aac  09        add     hl,bc
0aad  7e        ld      a,(hl)
0aae  dd77f3    ld      (ix-#0d),a
0ab1  c3c488    jp      #88c4
0ab4  c34f89    jp      #894f
0ab7  c31189    jp      #8911
0aba  c34f89    jp      #894f
0abd  c31189    jp      #8911
0ac0  00        nop     
0ac1  00        nop     
0ac2  64        ld      h,h
0ac3  64        ld      h,h
0ac4  65        ld      h,l
0ac5  6c        ld      l,h
0ac6  6d        ld      l,l
0ac7  80        add     a,b
0ac8  2010      jr      nz,#0ada        ; (16)
0aca  08        ex      af,af'
0acb  04        inc     b
0acc  02        ld      (bc),a
0acd  015c5d    ld      bc,#5d5c
0ad0  5b        ld      e,e
0ad1  5b        ld      e,e
0ad2  67        ld      h,a
0ad3  67        ld      h,a
0ad4  67        ld      h,a
0ad5  02        ld      (bc),a
0ad6  02        ld      (bc),a
0ad7  010101    ld      bc,#0101
0ada  01010a    ld      bc,#0a01
0add  8b        adc     a,e
0ade  018bf6    ld      bc,#f68b
0ae1  8a        adc     a,d
0ae2  ea8a00    jp      pe,#008a
0ae5  00        nop     
0ae6  00        nop     
0ae7  00        nop     
0ae8  00        nop     
0ae9  00        nop     
0aea  2046      jr      nz,#0b32        ; (70)
0aec  4f        ld      c,a
0aed  52        ld      d,d
0aee  43        ld      b,e
0aef  45        ld      b,l
0af0  204c      jr      nz,#0b3e        ; (76)
0af2  49        ld      c,c
0af3  4e        ld      c,(hl)
0af4  45        ld      b,l
0af5  00        nop     
0af6  2049      jr      nz,#0b41        ; (73)
0af8  4e        ld      c,(hl)
0af9  54        ld      d,h
0afa  45        ld      b,l
0afb  52        ld      d,d
0afc  52        ld      d,d
0afd  55        ld      d,l
0afe  50        ld      d,b
0aff  54        ld      d,h
0b00  00        nop     
0b01  2041      jr      nz,#0b44        ; (65)
0b03  44        ld      b,h
0b04  44        ld      b,h
0b05  52        ld      d,d
0b06  45        ld      b,l
0b07  53        ld      d,e
0b08  53        ld      d,e
0b09  00        nop     
0b0a  2050      jr      nz,#0b5c        ; (80)
0b0c  57        ld      d,a
0b0d  52        ld      d,d
0b0e  2053      jr      nz,#0b63        ; (83)
0b10  55        ld      d,l
0b11  50        ld      d,b
0b12  50        ld      d,b
0b13  4c        ld      c,h
0b14  59        ld      e,c
0b15  00        nop     
0b16  58        ld      e,b
0b17  59        ld      e,c
0b18  5a        ld      e,d
0b19  5a        ld      e,d
0b1a  6b        ld      l,e
0b1b  6b        ld      l,e
0b1c  6b        ld      l,e
0b1d  e7        rst     #20
0b1e  21f6ff    ld      hl,#fff6
0b21  39        add     hl,sp
0b22  f9        ld      sp,hl
0b23  dd7e04    ld      a,(ix+#04)
0b26  327cf6    ld      (#f67c),a
0b29  6f        ld      l,a
0b2a  cdc38e    call    #8ec3
0b2d  79        ld      a,c
0b2e  fe02      cp      #02
0b30  2005      jr      nz,#0b37        ; (5)
0b32  0e02      ld      c,#02
0b34  c384be    jp      #be84
0b37  3a14f1    ld      a,(#f114)
0b3a  4f        ld      c,a
0b3b  3a32f3    ld      a,(#f332)
0b3e  a1        and     c
0b3f  6f        ld      l,a
0b40  dd75f9    ld      (ix-#07),l
0b43  dd7ef9    ld      a,(ix-#07)
0b46  b7        or      a
0b47  2005      jr      nz,#0b4e        ; (5)
0b49  0e00      ld      c,#00
0b4b  c384be    jp      #be84
0b4e  dd6ef9    ld      l,(ix-#07)
0b51  7d        ld      a,l
0b52  e61f      and     #1f
0b54  2810      jr      z,#0b66         ; (16)
0b56  2e0c      ld      l,#0c
0b58  cdc38e    call    #8ec3
0b5b  79        ld      a,c
0b5c  fe02      cp      #02
0b5e  c2148c    jp      nz,#8c14
0b61  0e02      ld      c,#02
0b63  c384be    jp      #be84
0b66  97        sub     a
0b67  3283f6    ld      (#f683),a
0b6a  dd36f800  ld      (ix-#08),#00
0b6e  dd36f700  ld      (ix-#09),#00
0b72  dd7ef7    ld      a,(ix-#09)
0b75  fe07      cp      #07
0b77  d21d8c    jp      nc,#8c1d
0b7a  21c78a    ld      hl,#8ac7
0b7d  dd5ef7    ld      e,(ix-#09)
0b80  97        sub     a
0b81  57        ld      d,a
0b82  19        add     hl,de
0b83  7e        ld      a,(hl)
0b84  327af6    ld      (#f67a),a
0b87  3a14f1    ld      a,(#f114)
0b8a  4f        ld      c,a
0b8b  3a32f3    ld      a,(#f332)
0b8e  a1        and     c
0b8f  6f        ld      l,a
0b90  3a7af6    ld      a,(#f67a)
0b93  4f        ld      c,a
0b94  a5        and     l
0b95  ca238c    jp      z,#8c23
0b98  dd4ef7    ld      c,(ix-#09)
0b9b  97        sub     a
0b9c  47        ld      b,a
0b9d  69        ld      l,c
0b9e  60        ld      h,b
0b9f  29        add     hl,hl
0ba0  01dc8a    ld      bc,#8adc
0ba3  09        add     hl,bc
0ba4  7e        ld      a,(hl)
0ba5  23        inc     hl
0ba6  66        ld      h,(hl)
0ba7  6f        ld      l,a
0ba8  227ef6    ld      (#f67e),hl
0bab  21c08a    ld      hl,#8ac0
0bae  dd5ef7    ld      e,(ix-#09)
0bb1  97        sub     a
0bb2  57        ld      d,a
0bb3  19        add     hl,de
0bb4  7e        ld      a,(hl)
0bb5  327bf6    ld      (#f67b),a
0bb8  21ce8a    ld      hl,#8ace
0bbb  dd5ef7    ld      e,(ix-#09)
0bbe  97        sub     a
0bbf  57        ld      d,a
0bc0  19        add     hl,de
0bc1  7e        ld      a,(hl)
0bc2  327df6    ld      (#f67d),a
0bc5  21168b    ld      hl,#8b16
0bc8  dd5ef7    ld      e,(ix-#09)
0bcb  97        sub     a
0bcc  57        ld      d,a
0bcd  19        add     hl,de
0bce  7e        ld      a,(hl)
0bcf  3280f6    ld      (#f680),a
0bd2  3e03      ld      a,#03
0bd4  ddbef7    cp      (ix-#09)
0bd7  3804      jr      c,#0bdd         ; (4)
0bd9  0e00      ld      c,#00
0bdb  1802      jr      #0bdf           ; (2)
0bdd  0e01      ld      c,#01
0bdf  79        ld      a,c
0be0  3282f6    ld      (#f682),a
0be3  21d58a    ld      hl,#8ad5
0be6  dd5ef7    ld      e,(ix-#09)
0be9  97        sub     a
0bea  57        ld      d,a
0beb  19        add     hl,de
0bec  7e        ld      a,(hl)
0bed  fe01      cp      #01
0bef  2005      jr      nz,#0bf6        ; (5)
0bf1  01398c    ld      bc,#8c39
0bf4  1803      jr      #0bf9           ; (3)
0bf6  01c88d    ld      bc,#8dc8
0bf9  69        ld      l,c
0bfa  60        ld      h,b
0bfb  2284f6    ld      (#f684),hl
0bfe  e5        push    hl
0bff  21238e    ld      hl,#8e23
0c02  cd84b1    call    #b184
0c05  dd71f6    ld      (ix-#0a),c
0c08  dd7ef6    ld      a,(ix-#0a)
0c0b  fe02      cp      #02
0c0d  201a      jr      nz,#0c29        ; (26)
0c0f  0e02      ld      c,#02
0c11  c384be    jp      #be84
0c14  dd7ef9    ld      a,(ix-#07)
0c17  3232f3    ld      (#f332),a
0c1a  c3668b    jp      #8b66
0c1d  dd4ef8    ld      c,(ix-#08)
0c20  c384be    jp      #be84
0c23  dd34f7    inc     (ix-#09)
0c26  c3728b    jp      #8b72
0c29  dd7ef8    ld      a,(ix-#08)
0c2c  ddb6f6    or      (ix-#0a)
0c2f  dd77f8    ld      (ix-#08),a
0c32  18ef      jr      #0c23           ; (-17)
0c34  42        ld      b,d
0c35  54        ld      d,h
0c36  53        ld      d,e
0c37  2000      jr      nz,#0c39        ; (0)
0c39  e7        rst     #20
0c3a  21c5ff    ld      hl,#ffc5
0c3d  39        add     hl,sp
0c3e  f9        ld      sp,hl
0c3f  3a83f6    ld      a,(#f683)
0c42  b7        or      a
0c43  2813      jr      z,#0c58         ; (19)
0c45  3a32f3    ld      a,(#f332)
0c48  dd77f5    ld      (ix-#0b),a
0c4b  2e0c      ld      l,#0c
0c4d  cdc38e    call    #8ec3
0c50  79        ld      a,c
0c51  fe02      cp      #02
0c53  2031      jr      nz,#0c86        ; (49)
0c55  c384be    jp      #be84
0c58  2e10      ld      l,#10
0c5a  cd1fb1    call    #b11f
0c5d  dd7e04    ld      a,(ix+#04)
0c60  b7        or      a
0c61  282f      jr      z,#0c92         ; (47)
0c63  cdd0b8    call    #b8d0
0c66  2e71      ld      l,#71
0c68  cf        rst     #8
0c69  2e58      ld      l,#58
0c6b  cf        rst     #8
0c6c  3a7df6    ld      a,(#f67d)
0c6f  3281f6    ld      (#f681),a
0c72  fe67      cp      #67
0c74  c2bd8c    jp      nz,#8cbd
0c77  3a7bf6    ld      a,(#f67b)
0c7a  6f        ld      l,a
0c7b  d7        rst     #10
0c7c  3a7df6    ld      a,(#f67d)
0c7f  3281f6    ld      (#f681),a
0c82  6f        ld      l,a
0c83  d7        rst     #10
0c84  183e      jr      #0cc4           ; (62)
0c86  dd7ef5    ld      a,(ix-#0b)
0c89  3232f3    ld      (#f332),a
0c8c  97        sub     a
0c8d  3283f6    ld      (#f683),a
0c90  18c6      jr      #0c58           ; (-58)
0c92  2e7f      ld      l,#7f
0c94  d7        rst     #10
0c95  dd36f713  ld      (ix-#09),#13
0c99  dd36f615  ld      (ix-#0a),#15
0c9d  dd7ef7    ld      a,(ix-#09)
0ca0  dd77f8    ld      (ix-#08),a
0ca3  dde5      push    ix
0ca5  c1        pop     bc
0ca6  21c5ff    ld      hl,#ffc5
0ca9  09        add     hl,bc
0caa  cdba81    call    #81ba
0cad  dd36f901  ld      (ix-#07),#01
0cb1  dd6ef8    ld      l,(ix-#08)
0cb4  cd7c76    call    #767c
0cb7  79        ld      a,c
0cb8  b7        or      a
0cb9  2033      jr      nz,#0cee        ; (51)
0cbb  18f4      jr      #0cb1           ; (-12)
0cbd  2e5b      ld      l,#5b
0cbf  d7        rst     #10
0cc0  2a7ef6    ld      hl,(#f67e)
0cc3  ef        rst     #28
0cc4  3a7cf6    ld      a,(#f67c)
0cc7  e601      and     #01
0cc9  2812      jr      z,#0cdd         ; (18)
0ccb  2e63      ld      l,#63
0ccd  d7        rst     #10
0cce  2e76      ld      l,#76
0cd0  d7        rst     #10
0cd1  2e04      ld      l,#04
0cd3  e5        push    hl
0cd4  2e10      ld      l,#10
0cd6  e5        push    hl
0cd7  219cf1    ld      hl,#f19c
0cda  cdc57f    call    #7fc5
0cdd  2e7d      ld      l,#7d
0cdf  d7        rst     #10
0ce0  2e72      ld      l,#72
0ce2  cf        rst     #8
0ce3  dd36f712  ld      (ix-#09),#12
0ce7  dd36f614  ld      (ix-#0a),#14
0ceb  c39d8c    jp      #8c9d
0cee  3a26f1    ld      a,(#f126)
0cf1  fe1b      cp      #1b
0cf3  2035      jr      nz,#0d2a        ; (53)
0cf5  3e7f      ld      a,#7f
0cf7  3226f1    ld      (#f126),a
0cfa  2e10      ld      l,#10
0cfc  cd36b1    call    #b136
0cff  dd7ef6    ld      a,(ix-#0a)
0d02  dd77f8    ld      (ix-#08),a
0d05  2e71      ld      l,#71
0d07  cf        rst     #8
0d08  2e58      ld      l,#58
0d0a  cf        rst     #8
0d0b  3a7bf6    ld      a,(#f67b)
0d0e  6f        ld      l,a
0d0f  d7        rst     #10
0d10  21348c    ld      hl,#8c34
0d13  ef        rst     #28
0d14  3a7bf6    ld      a,(#f67b)
0d17  fe6c      cp      #6c
0d19  2038      jr      nz,#0d53        ; (56)
0d1b  2e04      ld      l,#04
0d1d  e5        push    hl
0d1e  2e10      ld      l,#10
0d20  e5        push    hl
0d21  21aae9    ld      hl,#e9aa
0d24  cdc57f    call    #7fc5
0d27  c38c8d    jp      #8d8c
0d2a  3a26f1    ld      a,(#f126)
0d2d  fe1a      cp      #1a
0d2f  c2a48d    jp      nz,#8da4
0d32  3e7f      ld      a,#7f
0d34  3226f1    ld      (#f126),a
0d37  2e10      ld      l,#10
0d39  cd1fb1    call    #b11f
0d3c  dd7ef7    ld      a,(ix-#09)
0d3f  dd77f8    ld      (ix-#08),a
0d42  dde5      push    ix
0d44  c1        pop     bc
0d45  21c5ff    ld      hl,#ffc5
0d48  09        add     hl,bc
0d49  cd2386    call    #8623
0d4c  dd36f901  ld      (ix-#07),#01
0d50  c3b18c    jp      #8cb1
0d53  3a7bf6    ld      a,(#f67b)
0d56  fe6d      cp      #6d
0d58  2011      jr      nz,#0d6b        ; (17)
0d5a  3ad8f0    ld      a,(#f0d8)
0d5d  87        add     a,a
0d5e  6f        ld      l,a
0d5f  e5        push    hl
0d60  2e10      ld      l,#10
0d62  e5        push    hl
0d63  21d0f0    ld      hl,#f0d0
0d66  cdc57f    call    #7fc5
0d69  1821      jr      #0d8c           ; (33)
0d6b  3a7bf6    ld      a,(#f67b)
0d6e  fe65      cp      #65
0d70  200e      jr      nz,#0d80        ; (14)
0d72  2e22      ld      l,#22
0d74  e5        push    hl
0d75  2e02      ld      l,#02
0d77  e5        push    hl
0d78  21ccf0    ld      hl,#f0cc
0d7b  cdc57f    call    #7fc5
0d7e  180c      jr      #0d8c           ; (12)
0d80  2e21      ld      l,#21
0d82  e5        push    hl
0d83  2e02      ld      l,#02
0d85  e5        push    hl
0d86  212cf3    ld      hl,#f32c
0d89  cdc57f    call    #7fc5
0d8c  dd7e04    ld      a,(ix+#04)
0d8f  b7        or      a
0d90  2804      jr      z,#0d96         ; (4)
0d92  0e7d      ld      c,#7d
0d94  1802      jr      #0d98           ; (2)
0d96  0e7f      ld      c,#7f
0d98  69        ld      l,c
0d99  d7        rst     #10
0d9a  2e72      ld      l,#72
0d9c  cf        rst     #8
0d9d  dd36f900  ld      (ix-#07),#00
0da1  c3b18c    jp      #8cb1
0da4  2e10      ld      l,#10
0da6  cd36b1    call    #b136
0da9  dd7ef9    ld      a,(ix-#07)
0dac  b7        or      a
0dad  200a      jr      nz,#0db9        ; (10)
0daf  dde5      push    ix
0db1  c1        pop     bc
0db2  21c5ff    ld      hl,#ffc5
0db5  09        add     hl,bc
0db6  cd2386    call    #8623
0db9  2e7f      ld      l,#7f
0dbb  e5        push    hl
0dbc  2eff      ld      l,#ff
0dbe  cd657f    call    #7f65
0dc1  c384be    jp      #be84
0dc4  2040      jr      nz,#0e06        ; (64)
0dc6  2000      jr      nz,#0dc8        ; (0)
0dc8  e7        rst     #20
0dc9  dd7e04    ld      a,(ix+#04)
0dcc  b7        or      a
0dcd  2832      jr      z,#0e01         ; (50)
0dcf  cdd0b8    call    #b8d0
0dd2  2e71      ld      l,#71
0dd4  cf        rst     #8
0dd5  2e58      ld      l,#58
0dd7  cf        rst     #8
0dd8  3a7df6    ld      a,(#f67d)
0ddb  3281f6    ld      (#f681),a
0dde  6f        ld      l,a
0ddf  d7        rst     #10
0de0  2a7ef6    ld      hl,(#f67e)
0de3  ef        rst     #28
0de4  3a7cf6    ld      a,(#f67c)
0de7  e601      and     #01
0de9  2810      jr      z,#0dfb         ; (16)
0deb  21c48d    ld      hl,#8dc4
0dee  ef        rst     #28
0def  2e04      ld      l,#04
0df1  e5        push    hl
0df2  2e10      ld      l,#10
0df4  e5        push    hl
0df5  219cf1    ld      hl,#f19c
0df8  cdc57f    call    #7fc5
0dfb  2e7d      ld      l,#7d
0dfd  d7        rst     #10
0dfe  2e72      ld      l,#72
0e00  cf        rst     #8
0e01  dd7e04    ld      a,(ix+#04)
0e04  b7        or      a
0e05  2805      jr      z,#0e0c         ; (5)
0e07  010a00    ld      bc,#000a
0e0a  1803      jr      #0e0f           ; (3)
0e0c  019000    ld      bc,#0090
0e0f  69        ld      l,c
0e10  60        ld      h,b
0e11  cd7c76    call    #767c
0e14  79        ld      a,c
0e15  b7        or      a
0e16  28e9      jr      z,#0e01         ; (-23)
0e18  2e7f      ld      l,#7f
0e1a  e5        push    hl
0e1b  2eff      ld      l,#ff
0e1d  cd657f    call    #7f65
0e20  c384be    jp      #be84
0e23  f7        rst     #30
0e24  21f9ff    ld      hl,#fff9
0e27  39        add     hl,sp
0e28  f9        ld      sp,hl
0e29  3a7cf6    ld      a,(#f67c)
0e2c  6f        ld      l,a
0e2d  cdc38e    call    #8ec3
0e30  79        ld      a,c
0e31  fe02      cp      #02
0e33  2005      jr      nz,#0e3a        ; (5)
0e35  0e02      ld      c,#02
0e37  c372be    jp      #be72
0e3a  3e01      ld      a,#01
0e3c  3283f6    ld      (#f683),a
0e3f  3a32f3    ld      a,(#f332)
0e42  6f        ld      l,a
0e43  3a7af6    ld      a,(#f67a)
0e46  4f        ld      c,a
0e47  a5        and     l
0e48  2806      jr      z,#0e50         ; (6)
0e4a  3a7df6    ld      a,(#f67d)
0e4d  4f        ld      c,a
0e4e  1804      jr      #0e54           ; (4)
0e50  3a80f6    ld      a,(#f680)
0e53  4f        ld      c,a
0e54  dd71f9    ld      (ix-#07),c
0e57  2181f6    ld      hl,#f681
0e5a  dd7ef9    ld      a,(ix-#07)
0e5d  be        cp      (hl)
0e5e  2812      jr      z,#0e72         ; (18)
0e60  cdd0b8    call    #b8d0
0e63  dd7ef9    ld      a,(ix-#07)
0e66  3281f6    ld      (#f681),a
0e69  6f        ld      l,a
0e6a  e5        push    hl
0e6b  3a82f6    ld      a,(#f682)
0e6e  6f        ld      l,a
0e6f  cd657f    call    #7f65
0e72  2180f6    ld      hl,#f680
0e75  dd7ef9    ld      a,(ix-#07)
0e78  be        cp      (hl)
0e79  2004      jr      nz,#0e7f        ; (4)
0e7b  0e00      ld      c,#00
0e7d  1802      jr      #0e81           ; (2)
0e7f  0e01      ld      c,#01
0e81  c372be    jp      #be72
0e84  0c        inc     c
0e85  0601      ld      b,#01
0e87  02        ld      (bc),a
0e88  03        inc     bc
0e89  0a        ld      a,(bc)
0e8a  04        inc     b
0e8b  08        ex      af,af'
0e8c  09        add     hl,bc
0e8d  07        rlca    
0e8e  0d        dec     c
0e8f  05        dec     b
0e90  0c        inc     c
0e91  7d        ld      a,l
0e92  90        sub     b
0e93  bb        cp      e
0e94  90        sub     b
0e95  b3        or      e
0e96  90        sub     b
0e97  b3        or      e
0e98  90        sub     b
0e99  b3        or      e
0e9a  90        sub     b
0e9b  ad        xor     l
0e9c  90        sub     b
0e9d  a7        and     a
0e9e  90        sub     b
0e9f  a7        and     a
0ea0  90        sub     b
0ea1  79        ld      a,c
0ea2  90        sub     b
0ea3  79        ld      a,c
0ea4  90        sub     b
0ea5  79        ld      a,c
0ea6  90        sub     b
0ea7  79        ld      a,c
0ea8  90        sub     b
0ea9  79        ld      a,c
0eaa  90        sub     b
0eab  07        rlca    
0eac  09        add     hl,bc
0ead  04        inc     b
0eae  07        rlca    
0eaf  0d        dec     c
0eb0  05        dec     b
0eb1  08        ex      af,af'
0eb2  0c        inc     c
0eb3  f8        ret     m

0eb4  90        sub     b
0eb5  f1        pop     af
0eb6  91        sub     c
0eb7  de91      sbc     a,#91
0eb9  77        ld      (hl),a
0eba  91        sub     c
0ebb  12        ld      (de),a
0ebc  91        sub     c
0ebd  12        ld      (de),a
0ebe  91        sub     c
0ebf  fd90      sub     b
0ec1  e0        ret     po

0ec2  90        sub     b
0ec3  e7        rst     #20
0ec4  21f1ff    ld      hl,#fff1
0ec7  39        add     hl,sp
0ec8  f9        ld      sp,hl
0ec9  3ae5f2    ld      a,(#f2e5)
0ecc  b7        or      a
0ecd  2803      jr      z,#0ed2         ; (3)
0ecf  cd1395    call    #9513
0ed2  dd7e04    ld      a,(ix+#04)
0ed5  fe01      cp      #01
0ed7  2004      jr      nz,#0edd        ; (4)
0ed9  0e01      ld      c,#01
0edb  1802      jr      #0edf           ; (2)
0edd  0e00      ld      c,#00
0edf  79        ld      a,c
0ee0  32e5f2    ld      (#f2e5),a
0ee3  2e00      ld      l,#00
0ee5  cda292    call    #92a2
0ee8  dd7e04    ld      a,(ix+#04)
0eeb  3293f6    ld      (#f693),a
0eee  dd36f601  ld      (ix-#0a),#01
0ef2  dd6e04    ld      l,(ix+#04)
0ef5  cb45      bit     0,l
0ef7  282d      jr      z,#0f26         ; (45)
0ef9  2129f1    ld      hl,#f129
0efc  3a9df1    ld      a,(#f19d)
0eff  be        cp      (hl)
0f00  2846      jr      z,#0f48         ; (70)
0f02  dd6ef6    ld      l,(ix-#0a)
0f05  e5        push    hl
0f06  dd34f6    inc     (ix-#0a)
0f09  e1        pop     hl
0f0a  7d        ld      a,l
0f0b  4f        ld      c,a
0f0c  87        add     a,a
0f0d  9f        sbc     a,a
0f0e  47        ld      b,a
0f0f  69        ld      l,c
0f10  60        ld      h,b
0f11  0193f6    ld      bc,#f693
0f14  09        add     hl,bc
0f15  3a9df1    ld      a,(#f19d)
0f18  3229f1    ld      (#f129),a
0f1b  77        ld      (hl),a
0f1c  3a93f6    ld      a,(#f693)
0f1f  f680      or      #80
0f21  3293f6    ld      (#f693),a
0f24  1822      jr      #0f48           ; (34)
0f26  dd6e04    ld      l,(ix+#04)
0f29  cb4d      bit     1,l
0f2b  ca4490    jp      z,#9044
0f2e  dd6ef6    ld      l,(ix-#0a)
0f31  e5        push    hl
0f32  dd34f6    inc     (ix-#0a)
0f35  e1        pop     hl
0f36  7d        ld      a,l
0f37  4f        ld      c,a
0f38  87        add     a,a
0f39  9f        sbc     a,a
0f3a  47        ld      b,a
0f3b  69        ld      l,c
0f3c  60        ld      h,b
0f3d  0193f6    ld      bc,#f693
0f40  09        add     hl,bc
0f41  3a56f1    ld      a,(#f156)
0f44  77        ld      (hl),a
0f45  c34490    jp      #9044
0f48  2128f1    ld      hl,#f128
0f4b  3a9cf1    ld      a,(#f19c)
0f4e  be        cp      (hl)
0f4f  2822      jr      z,#0f73         ; (34)
0f51  dd6ef6    ld      l,(ix-#0a)
0f54  e5        push    hl
0f55  dd34f6    inc     (ix-#0a)
0f58  e1        pop     hl
0f59  7d        ld      a,l
0f5a  4f        ld      c,a
0f5b  87        add     a,a
0f5c  9f        sbc     a,a
0f5d  47        ld      b,a
0f5e  69        ld      l,c
0f5f  60        ld      h,b
0f60  0193f6    ld      bc,#f693
0f63  09        add     hl,bc
0f64  3a9cf1    ld      a,(#f19c)
0f67  3228f1    ld      (#f128),a
0f6a  77        ld      (hl),a
0f6b  3a93f6    ld      a,(#f693)
0f6e  f640      or      #40
0f70  3293f6    ld      (#f693),a
0f73  212bf1    ld      hl,#f12b
0f76  3a9ff1    ld      a,(#f19f)
0f79  be        cp      (hl)
0f7a  2822      jr      z,#0f9e         ; (34)
0f7c  dd6ef6    ld      l,(ix-#0a)
0f7f  e5        push    hl
0f80  dd34f6    inc     (ix-#0a)
0f83  e1        pop     hl
0f84  7d        ld      a,l
0f85  4f        ld      c,a
0f86  87        add     a,a
0f87  9f        sbc     a,a
0f88  47        ld      b,a
0f89  69        ld      l,c
0f8a  60        ld      h,b
0f8b  0193f6    ld      bc,#f693
0f8e  09        add     hl,bc
0f8f  3a9ff1    ld      a,(#f19f)
0f92  322bf1    ld      (#f12b),a
0f95  77        ld      (hl),a
0f96  3a93f6    ld      a,(#f693)
0f99  f620      or      #20
0f9b  3293f6    ld      (#f693),a
0f9e  212af1    ld      hl,#f12a
0fa1  3a9ef1    ld      a,(#f19e)
0fa4  be        cp      (hl)
0fa5  2822      jr      z,#0fc9         ; (34)
0fa7  dd6ef6    ld      l,(ix-#0a)
0faa  e5        push    hl
0fab  dd34f6    inc     (ix-#0a)
0fae  e1        pop     hl
0faf  7d        ld      a,l
0fb0  4f        ld      c,a
0fb1  87        add     a,a
0fb2  9f        sbc     a,a
0fb3  47        ld      b,a
0fb4  69        ld      l,c
0fb5  60        ld      h,b
0fb6  0193f6    ld      bc,#f693
0fb9  09        add     hl,bc
0fba  3a9ef1    ld      a,(#f19e)
0fbd  322af1    ld      (#f12a),a
0fc0  77        ld      (hl),a
0fc1  3a93f6    ld      a,(#f693)
0fc4  f610      or      #10
0fc6  3293f6    ld      (#f693),a
0fc9  dd6e04    ld      l,(ix+#04)
0fcc  cb4d      bit     1,l
0fce  ca4490    jp      z,#9044
0fd1  3ad8f0    ld      a,(#f0d8)
0fd4  fe04      cp      #04
0fd6  2017      jr      nz,#0fef        ; (23)
0fd8  dd6ef6    ld      l,(ix-#0a)
0fdb  e5        push    hl
0fdc  dd34f6    inc     (ix-#0a)
0fdf  e1        pop     hl
0fe0  7d        ld      a,l
0fe1  4f        ld      c,a
0fe2  87        add     a,a
0fe3  9f        sbc     a,a
0fe4  47        ld      b,a
0fe5  69        ld      l,c
0fe6  60        ld      h,b
0fe7  0193f6    ld      bc,#f693
0fea  09        add     hl,bc
0feb  3a99f1    ld      a,(#f199)
0fee  77        ld      (hl),a
0fef  3ad8f0    ld      a,(#f0d8)
0ff2  fe03      cp      #03
0ff4  fa0e90    jp      m,#900e
0ff7  dd6ef6    ld      l,(ix-#0a)
0ffa  e5        push    hl
0ffb  dd34f6    inc     (ix-#0a)
0ffe  e1        pop     hl
0fff  7d        ld      a,l
1000  4f        ld      c,a
1001  87        add     a,a
1002  9f        sbc     a,a
1003  47        ld      b,a
1004  69        ld      l,c
1005  60        ld      h,b
1006  0193f6    ld      bc,#f693
1009  09        add     hl,bc
100a  3a98f1    ld      a,(#f198)
100d  77        ld      (hl),a
100e  3ad8f0    ld      a,(#f0d8)
1011  fe02      cp      #02
1013  fa2d90    jp      m,#902d
1016  dd6ef6    ld      l,(ix-#0a)
1019  e5        push    hl
101a  dd34f6    inc     (ix-#0a)
101d  e1        pop     hl
101e  7d        ld      a,l
101f  4f        ld      c,a
1020  87        add     a,a
1021  9f        sbc     a,a
1022  47        ld      b,a
1023  69        ld      l,c
1024  60        ld      h,b
1025  0193f6    ld      bc,#f693
1028  09        add     hl,bc
1029  3a9bf1    ld      a,(#f19b)
102c  77        ld      (hl),a
102d  dd6ef6    ld      l,(ix-#0a)
1030  e5        push    hl
1031  dd34f6    inc     (ix-#0a)
1034  e1        pop     hl
1035  7d        ld      a,l
1036  4f        ld      c,a
1037  87        add     a,a
1038  9f        sbc     a,a
1039  47        ld      b,a
103a  69        ld      l,c
103b  60        ld      h,b
103c  0193f6    ld      bc,#f693
103f  09        add     hl,bc
1040  3a9af1    ld      a,(#f19a)
1043  77        ld      (hl),a
1044  dd6ef6    ld      l,(ix-#0a)
1047  e5        push    hl
1048  2193f6    ld      hl,#f693
104b  cd8593    call    #9385
104e  79        ld      a,c
104f  b7        or      a
1050  2817      jr      z,#1069         ; (23)
1052  2e01      ld      l,#01
1054  cda292    call    #92a2
1057  3a93f6    ld      a,(#f693)
105a  e60f      and     #0f
105c  6f        ld      l,a
105d  dd75f4    ld      (ix-#0c),l
1060  dd4ef4    ld      c,(ix-#0c)
1063  21848e    ld      hl,#8e84
1066  c3edb8    jp      #b8ed
1069  2e01      ld      l,#01
106b  cd7f94    call    #947f
106e  79        ld      a,c
106f  fe02      cp      #02
1071  c2e38e    jp      nz,#8ee3
1074  0e02      ld      c,#02
1076  c384be    jp      #be84
1079  dd36f500  ld      (ix-#0b),#00
107d  dd6ef5    ld      l,(ix-#0b)
1080  2c        inc     l
1081  e5        push    hl
1082  2186f6    ld      hl,#f686
1085  cdbe92    call    #92be
1088  79        ld      a,c
1089  b7        or      a
108a  283b      jr      z,#10c7         ; (59)
108c  2186f6    ld      hl,#f686
108f  dd7ef5    ld      a,(ix-#0b)
1092  5f        ld      e,a
1093  87        add     a,a
1094  9f        sbc     a,a
1095  57        ld      d,a
1096  19        add     hl,de
1097  7e        ld      a,(hl)
1098  3232f3    ld      (#f332),a
109b  e640      and     #40
109d  2838      jr      z,#10d7         ; (56)
109f  cd8fb6    call    #b68f
10a2  0e02      ld      c,#02
10a4  c384be    jp      #be84
10a7  dd36f502  ld      (ix-#0b),#02
10ab  18d0      jr      #107d           ; (-48)
10ad  dd36f504  ld      (ix-#0b),#04
10b1  18ca      jr      #107d           ; (-54)
10b3  3ad8f0    ld      a,(#f0d8)
10b6  dd77f5    ld      (ix-#0b),a
10b9  18c2      jr      #107d           ; (-62)
10bb  3ad8f0    ld      a,(#f0d8)
10be  c608      add     a,#08
10c0  6f        ld      l,a
10c1  dd75f5    ld      (ix-#0b),l
10c4  c37d90    jp      #907d
10c7  2e01      ld      l,#01
10c9  cd7f94    call    #947f
10cc  79        ld      a,c
10cd  fe02      cp      #02
10cf  c2e38e    jp      nz,#8ee3
10d2  0e02      ld      c,#02
10d4  c384be    jp      #be84
10d7  dd4ef4    ld      c,(ix-#0c)
10da  21ab8e    ld      hl,#8eab
10dd  c3edb8    jp      #b8ed
10e0  3a86f6    ld      a,(#f686)
10e3  3248f3    ld      (#f348),a
10e6  3a87f6    ld      a,(#f687)
10e9  3247f3    ld      (#f347),a
10ec  3a88f6    ld      a,(#f688)
10ef  324af3    ld      (#f34a),a
10f2  3a89f6    ld      a,(#f689)
10f5  3249f3    ld      (#f349),a
10f8  0e00      ld      c,#00
10fa  c384be    jp      #be84
10fd  3a86f6    ld      a,(#f686)
1100  324af3    ld      (#f34a),a
1103  3a87f6    ld      a,(#f687)
1106  3249f3    ld      (#f349),a
1109  97        sub     a
110a  3247f3    ld      (#f347),a
110d  3248f3    ld      (#f348),a
1110  18e6      jr      #10f8           ; (-26)
1112  2147f3    ld      hl,#f347
1115  e5        push    hl
1116  214104    ld      hl,#0441
1119  e5        push    hl
111a  df        rst     #18
111b  f1        pop     af
111c  3ad8f0    ld      a,(#f0d8)
111f  fe01      cp      #01
1121  2008      jr      nz,#112b        ; (8)
1123  3a86f6    ld      a,(#f686)
1126  3249f3    ld      (#f349),a
1129  18cd      jr      #10f8           ; (-51)
112b  3ad8f0    ld      a,(#f0d8)
112e  fe02      cp      #02
1130  200e      jr      nz,#1140        ; (14)
1132  3a86f6    ld      a,(#f686)
1135  324af3    ld      (#f34a),a
1138  3a87f6    ld      a,(#f687)
113b  3249f3    ld      (#f349),a
113e  18b8      jr      #10f8           ; (-72)
1140  3ad8f0    ld      a,(#f0d8)
1143  fe03      cp      #03
1145  2015      jr      nz,#115c        ; (21)
1147  3a86f6    ld      a,(#f686)
114a  3247f3    ld      (#f347),a
114d  3a87f6    ld      a,(#f687)
1150  324af3    ld      (#f34a),a
1153  3a88f6    ld      a,(#f688)
1156  3249f3    ld      (#f349),a
1159  c3f890    jp      #90f8
115c  3a86f6    ld      a,(#f686)
115f  3248f3    ld      (#f348),a
1162  3a87f6    ld      a,(#f687)
1165  3247f3    ld      (#f347),a
1168  3a88f6    ld      a,(#f688)
116b  324af3    ld      (#f34a),a
116e  3a89f6    ld      a,(#f689)
1171  3249f3    ld      (#f349),a
1174  c3f890    jp      #90f8
1177  2198f1    ld      hl,#f198
117a  e5        push    hl
117b  214104    ld      hl,#0441
117e  e5        push    hl
117f  df        rst     #18
1180  f1        pop     af
1181  3ad8f0    ld      a,(#f0d8)
1184  fe01      cp      #01
1186  2009      jr      nz,#1191        ; (9)
1188  3a86f6    ld      a,(#f686)
118b  329af1    ld      (#f19a),a
118e  c3f890    jp      #90f8
1191  3ad8f0    ld      a,(#f0d8)
1194  fe02      cp      #02
1196  200f      jr      nz,#11a7        ; (15)
1198  3a86f6    ld      a,(#f686)
119b  329bf1    ld      (#f19b),a
119e  3a87f6    ld      a,(#f687)
11a1  329af1    ld      (#f19a),a
11a4  c3f890    jp      #90f8
11a7  3ad8f0    ld      a,(#f0d8)
11aa  fe03      cp      #03
11ac  2015      jr      nz,#11c3        ; (21)
11ae  3a86f6    ld      a,(#f686)
11b1  3298f1    ld      (#f198),a
11b4  3a87f6    ld      a,(#f687)
11b7  329bf1    ld      (#f19b),a
11ba  3a88f6    ld      a,(#f688)
11bd  329af1    ld      (#f19a),a
11c0  c3f890    jp      #90f8
11c3  3a86f6    ld      a,(#f686)
11c6  3299f1    ld      (#f199),a
11c9  3a87f6    ld      a,(#f687)
11cc  3298f1    ld      (#f198),a
11cf  3a88f6    ld      a,(#f688)
11d2  329bf1    ld      (#f19b),a
11d5  3a89f6    ld      a,(#f689)
11d8  329af1    ld      (#f19a),a
11db  c3f890    jp      #90f8
11de  3a86f6    ld      a,(#f686)
11e1  3293f1    ld      (#f193),a
11e4  3a87f6    ld      a,(#f687)
11e7  3292f1    ld      (#f192),a
11ea  97        sub     a
11eb  3290f1    ld      (#f190),a
11ee  3291f1    ld      (#f191),a
11f1  3a86f6    ld      a,(#f686)
11f4  32abe9    ld      (#e9ab),a
11f7  3a87f6    ld      a,(#f687)
11fa  32aae9    ld      (#e9aa),a
11fd  3a88f6    ld      a,(#f688)
1200  32ade9    ld      (#e9ad),a
1203  3a89f6    ld      a,(#f689)
1206  32ace9    ld      (#e9ac),a
1209  21ccf0    ld      hl,#f0cc
120c  e5        push    hl
120d  214104    ld      hl,#0441
1210  e5        push    hl
1211  df        rst     #18
1212  f1        pop     af
1213  3a8af6    ld      a,(#f68a)
1216  32cff0    ld      (#f0cf),a
1219  3a8bf6    ld      a,(#f68b)
121c  32cef0    ld      (#f0ce),a
121f  212cf3    ld      hl,#f32c
1222  e5        push    hl
1223  214104    ld      hl,#0441
1226  e5        push    hl
1227  df        rst     #18
1228  f1        pop     af
1229  3a8cf6    ld      a,(#f68c)
122c  322ff3    ld      (#f32f),a
122f  3a8df6    ld      a,(#f68d)
1232  322ef3    ld      (#f32e),a
1235  21d0f0    ld      hl,#f0d0
1238  e5        push    hl
1239  214104    ld      hl,#0441
123c  e5        push    hl
123d  df        rst     #18
123e  f1        pop     af
123f  218ef6    ld      hl,#f68e
1242  dd75f2    ld      (ix-#0e),l
1245  dd74f3    ld      (ix-#0d),h
1248  3ad8f0    ld      a,(#f0d8)
124b  fe04      cp      #04
124d  2012      jr      nz,#1261        ; (18)
124f  dd6ef2    ld      l,(ix-#0e)
1252  dd66f3    ld      h,(ix-#0d)
1255  dd34f2    inc     (ix-#0e)
1258  2003      jr      nz,#125d        ; (3)
125a  dd34f3    inc     (ix-#0d)
125d  7e        ld      a,(hl)
125e  32d1f0    ld      (#f0d1),a
1261  3ad8f0    ld      a,(#f0d8)
1264  fe03      cp      #03
1266  fa7b92    jp      m,#927b
1269  dd6ef2    ld      l,(ix-#0e)
126c  dd66f3    ld      h,(ix-#0d)
126f  dd34f2    inc     (ix-#0e)
1272  2003      jr      nz,#1277        ; (3)
1274  dd34f3    inc     (ix-#0d)
1277  7e        ld      a,(hl)
1278  32d0f0    ld      (#f0d0),a
127b  3ad8f0    ld      a,(#f0d8)
127e  fe02      cp      #02
1280  fa9592    jp      m,#9295
1283  dd6ef2    ld      l,(ix-#0e)
1286  dd66f3    ld      h,(ix-#0d)
1289  dd34f2    inc     (ix-#0e)
128c  2003      jr      nz,#1291        ; (3)
128e  dd34f3    inc     (ix-#0d)
1291  7e        ld      a,(hl)
1292  32d3f0    ld      (#f0d3),a
1295  dd6ef2    ld      l,(ix-#0e)
1298  dd66f3    ld      h,(ix-#0d)
129b  7e        ld      a,(hl)
129c  32d2f0    ld      (#f0d2),a
129f  c3f890    jp      #90f8
12a2  e7        rst     #20
12a3  3e38      ld      a,#38
12a5  d3c3      out     (#c3),a
12a7  dd7e04    ld      a,(ix+#04)
12aa  b7        or      a
12ab  2006      jr      nz,#12b3        ; (6)
12ad  3eff      ld      a,#ff
12af  d3c2      out     (#c2),a
12b1  1804      jr      #12b7           ; (4)
12b3  3e00      ld      a,#00
12b5  d3c2      out     (#c2),a
12b7  3e3c      ld      a,#3c
12b9  d3c3      out     (#c3),a
12bb  c384be    jp      #be84
12be  e7        rst     #20
12bf  21f9ff    ld      hl,#fff9
12c2  39        add     hl,sp
12c3  f9        ld      sp,hl
12c4  dd36f900  ld      (ix-#07),#00
12c8  dd7ef9    ld      a,(ix-#07)
12cb  ddbe06    cp      (ix+#06)
12ce  f2eb92    jp      p,#92eb
12d1  dd6e04    ld      l,(ix+#04)
12d4  dd6605    ld      h,(ix+#05)
12d7  dd7ef9    ld      a,(ix-#07)
12da  5f        ld      e,a
12db  87        add     a,a
12dc  9f        sbc     a,a
12dd  57        ld      d,a
12de  19        add     hl,de
12df  cdf692    call    #92f6
12e2  79        ld      a,c
12e3  b7        or      a
12e4  200a      jr      nz,#12f0        ; (10)
12e6  0e00      ld      c,#00
12e8  c38bbe    jp      #be8b
12eb  0e01      ld      c,#01
12ed  c38bbe    jp      #be8b
12f0  dd34f9    inc     (ix-#07)
12f3  c3c892    jp      #92c8
12f6  e7        rst     #20
12f7  f5        push    af
12f8  f5        push    af
12f9  f5        push    af
12fa  f5        push    af
12fb  3efe      ld      a,#fe
12fd  d3c0      out     (#c0),a
12ff  0602      ld      b,#02
1301  dd36f800  ld      (ix-#08),#00
1305  dd36f900  ld      (ix-#07),#00
1309  dbc0      in      a,(#c0)
130b  e602      and     #02
130d  281c      jr      z,#132b         ; (28)
130f  dbc0      in      a,(#c0)
1311  e602      and     #02
1313  2816      jr      z,#132b         ; (22)
1315  3a35f3    ld      a,(#f335)
1318  dd96f8    sub     (ix-#08)
131b  3a36f3    ld      a,(#f336)
131e  dd9ef9    sbc     a,(ix-#07)
1321  d25193    jp      nc,#9351
1324  10db      djnz    #1301           ; (-37)
1326  0e00      ld      c,#00
1328  c384be    jp      #be84
132b  dd6e04    ld      l,(ix+#04)
132e  dd6605    ld      h,(ix+#05)
1331  dbc2      in      a,(#c2)
1333  77        ld      (hl),a
1334  3e19      ld      a,#19
1336  d3c0      out     (#c0),a
1338  0602      ld      b,#02
133a  dd36f800  ld      (ix-#08),#00
133e  dd36f900  ld      (ix-#07),#00
1342  dbc0      in      a,(#c0)
1344  e602      and     #02
1346  ca6393    jp      z,#9363
1349  dbc0      in      a,(#c0)
134b  e602      and     #02
134d  200f      jr      nz,#135e        ; (15)
134f  1812      jr      #1363           ; (18)
1351  db81      in      a,(#81)
1353  dd34f8    inc     (ix-#08)
1356  2003      jr      nz,#135b        ; (3)
1358  dd34f9    inc     (ix-#07)
135b  c30993    jp      #9309
135e  0e01      ld      c,#01
1360  c384be    jp      #be84
1363  3a35f3    ld      a,(#f335)
1366  dd96f8    sub     (ix-#08)
1369  3a36f3    ld      a,(#f336)
136c  dd9ef9    sbc     a,(ix-#07)
136f  3007      jr      nc,#1378        ; (7)
1371  10c7      djnz    #133a           ; (-57)
1373  0e00      ld      c,#00
1375  c384be    jp      #be84
1378  db81      in      a,(#81)
137a  dd34f8    inc     (ix-#08)
137d  2003      jr      nz,#1382        ; (3)
137f  dd34f9    inc     (ix-#07)
1382  c34293    jp      #9342
1385  e7        rst     #20
1386  21f9ff    ld      hl,#fff9
1389  39        add     hl,sp
138a  f9        ld      sp,hl
138b  dd36f900  ld      (ix-#07),#00
138f  dd7ef9    ld      a,(ix-#07)
1392  ddbe06    cp      (ix+#06)
1395  f2b393    jp      p,#93b3
1398  dd6e04    ld      l,(ix+#04)
139b  dd6605    ld      h,(ix+#05)
139e  dd7ef9    ld      a,(ix-#07)
13a1  5f        ld      e,a
13a2  87        add     a,a
13a3  9f        sbc     a,a
13a4  57        ld      d,a
13a5  19        add     hl,de
13a6  6e        ld      l,(hl)
13a7  cdbe93    call    #93be
13aa  79        ld      a,c
13ab  b7        or      a
13ac  200a      jr      nz,#13b8        ; (10)
13ae  0e00      ld      c,#00
13b0  c38bbe    jp      #be8b
13b3  0e01      ld      c,#01
13b5  c38bbe    jp      #be8b
13b8  dd34f9    inc     (ix-#07)
13bb  c38f93    jp      #938f
13be  e7        rst     #20
13bf  f5        push    af
13c0  f5        push    af
13c1  f5        push    af
13c2  f5        push    af
13c3  dd7e04    ld      a,(ix+#04)
13c6  d3c2      out     (#c2),a
13c8  3efe      ld      a,#fe
13ca  d3c0      out     (#c0),a
13cc  0602      ld      b,#02
13ce  dd36f800  ld      (ix-#08),#00
13d2  dd36f900  ld      (ix-#07),#00
13d6  dbc0      in      a,(#c0)
13d8  e602      and     #02
13da  281c      jr      z,#13f8         ; (28)
13dc  dbc0      in      a,(#c0)
13de  e602      and     #02
13e0  2816      jr      z,#13f8         ; (22)
13e2  3a35f3    ld      a,(#f335)
13e5  dd96f8    sub     (ix-#08)
13e8  3a36f3    ld      a,(#f336)
13eb  dd9ef9    sbc     a,(ix-#07)
13ee  d21594    jp      nc,#9415
13f1  10db      djnz    #13ce           ; (-37)
13f3  0e00      ld      c,#00
13f5  c384be    jp      #be84
13f8  3e19      ld      a,#19
13fa  d3c0      out     (#c0),a
13fc  0602      ld      b,#02
13fe  dd36f800  ld      (ix-#08),#00
1402  dd36f900  ld      (ix-#07),#00
1406  dbc0      in      a,(#c0)
1408  e602      and     #02
140a  ca2794    jp      z,#9427
140d  dbc0      in      a,(#c0)
140f  e602      and     #02
1411  200f      jr      nz,#1422        ; (15)
1413  1812      jr      #1427           ; (18)
1415  db81      in      a,(#81)
1417  dd34f8    inc     (ix-#08)
141a  2003      jr      nz,#141f        ; (3)
141c  dd34f9    inc     (ix-#07)
141f  c3d693    jp      #93d6
1422  0e01      ld      c,#01
1424  c384be    jp      #be84
1427  3a35f3    ld      a,(#f335)
142a  dd96f8    sub     (ix-#08)
142d  3a36f3    ld      a,(#f336)
1430  dd9ef9    sbc     a,(ix-#07)
1433  3007      jr      nc,#143c        ; (7)
1435  10c7      djnz    #13fe           ; (-57)
1437  0e00      ld      c,#00
1439  c384be    jp      #be84
143c  db81      in      a,(#81)
143e  dd34f8    inc     (ix-#08)
1441  2003      jr      nz,#1446        ; (3)
1443  dd34f9    inc     (ix-#07)
1446  c30694    jp      #9406
1449  7e        ld      a,(hl)
144a  94        sub     h
144b  6f        ld      l,a
144c  94        sub     h
144d  60        ld      h,b
144e  94        sub     h
144f  51        ld      d,c
1450  94        sub     h
1451  50        ld      d,b
1452  4f        ld      c,a
1453  44        ld      b,h
1454  2052      jr      nz,#14a8        ; (82)
1456  45        ld      b,l
1457  53        ld      d,e
1458  45        ld      b,l
1459  54        ld      d,h
145a  2045      jr      nz,#14a1        ; (69)
145c  52        ld      d,d
145d  52        ld      d,d
145e  2000      jr      nz,#1460        ; (0)
1460  55        ld      d,l
1461  55        ld      d,l
1462  54        ld      d,h
1463  2050      jr      nz,#14b5        ; (80)
1465  4f        ld      c,a
1466  57        ld      d,a
1467  45        ld      b,l
1468  52        ld      d,d
1469  2046      jr      nz,#14b1        ; (70)
146b  41        ld      b,c
146c  49        ld      c,c
146d  4c        ld      c,h
146e  00        nop     
146f  50        ld      d,b
1470  4f        ld      c,a
1471  44        ld      b,h
1472  2054      jr      nz,#14c8        ; (84)
1474  49        ld      c,c
1475  4d        ld      c,l
1476  45        ld      b,l
1477  4f        ld      c,a
1478  55        ld      d,l
1479  54        ld      d,h
147a  2020      jr      nz,#149c        ; (32)
147c  2000      jr      nz,#147e        ; (0)
147e  00        nop     
147f  e7        rst     #20
1480  21c9ff    ld      hl,#ffc9
1483  39        add     hl,sp
1484  f9        ld      sp,hl
1485  3a40f1    ld      a,(#f140)
1488  dd77f9    ld      (ix-#07),a
148b  dde5      push    ix
148d  c1        pop     bc
148e  21c9ff    ld      hl,#ffc9
1491  09        add     hl,bc
1492  cdba81    call    #81ba
1495  dd7e04    ld      a,(ix+#04)
1498  b7        or      a
1499  280f      jr      z,#14aa         ; (15)
149b  3e01      ld      a,#01
149d  3240f1    ld      (#f140),a
14a0  2e58      ld      l,#58
14a2  cf        rst     #8
14a3  2a4b94    ld      hl,(#944b)
14a6  ef        rst     #28
14a7  2e4f      ld      l,#4f
14a9  d7        rst     #10
14aa  3a40f1    ld      a,(#f140)
14ad  fe01      cp      #01
14af  201f      jr      nz,#14d0        ; (31)
14b1  2e00      ld      l,#00
14b3  cd7c76    call    #767c
14b6  79        ld      a,c
14b7  b7        or      a
14b8  2816      jr      z,#14d0         ; (22)
14ba  3a26f1    ld      a,(#f126)
14bd  3269e9    ld      (#e969),a
14c0  3e45      ld      a,#45
14c2  3226f1    ld      (#f126),a
14c5  dd7ef9    ld      a,(ix-#07)
14c8  3240f1    ld      (#f140),a
14cb  0e02      ld      c,#02
14cd  c384be    jp      #be84
14d0  cd1395    call    #9513
14d3  79        ld      a,c
14d4  b7        or      a
14d5  2815      jr      z,#14ec         ; (21)
14d7  dde5      push    ix
14d9  c1        pop     bc
14da  21c9ff    ld      hl,#ffc9
14dd  09        add     hl,bc
14de  cd2386    call    #8623
14e1  dd7ef9    ld      a,(ix-#07)
14e4  3240f1    ld      (#f140),a
14e7  0e00      ld      c,#00
14e9  c384be    jp      #be84
14ec  3e01      ld      a,#01
14ee  3240f1    ld      (#f140),a
14f1  2e71      ld      l,#71
14f3  cf        rst     #8
14f4  2e58      ld      l,#58
14f6  cf        rst     #8
14f7  3a55f1    ld      a,(#f155)
14fa  4f        ld      c,a
14fb  87        add     a,a
14fc  9f        sbc     a,a
14fd  47        ld      b,a
14fe  69        ld      l,c
14ff  60        ld      h,b
1500  29        add     hl,hl
1501  014994    ld      bc,#9449
1504  09        add     hl,bc
1505  7e        ld      a,(hl)
1506  23        inc     hl
1507  66        ld      h,(hl)
1508  6f        ld      l,a
1509  ef        rst     #28
150a  2e4f      ld      l,#4f
150c  d7        rst     #10
150d  2e72      ld      l,#72
150f  cf        rst     #8
1510  c3aa94    jp      #94aa
1513  f7        rst     #30
1514  21f2ff    ld      hl,#fff2
1517  39        add     hl,sp
1518  f9        ld      sp,hl
1519  97        sub     a
151a  3228f1    ld      (#f128),a
151d  3229f1    ld      (#f129),a
1520  322af1    ld      (#f12a),a
1523  322bf1    ld      (#f12b),a
1526  329af6    ld      (#f69a),a
1529  2e11      ld      l,#11
152b  e5        push    hl
152c  2ec0      ld      l,#c0
152e  cd62be    call    #be62
1531  dd36f900  ld      (ix-#07),#00
1535  dd7ef9    ld      a,(ix-#07)
1538  fe14      cp      #14
153a  f24295    jp      p,#9542
153d  dd34f9    inc     (ix-#07)
1540  18f3      jr      #1535           ; (-13)
1542  2e19      ld      l,#19
1544  e5        push    hl
1545  2ec0      ld      l,#c0
1547  cd62be    call    #be62
154a  2e00      ld      l,#00
154c  cda292    call    #92a2
154f  2eab      ld      l,#ab
1551  cdbe93    call    #93be
1554  79        ld      a,c
1555  b7        or      a
1556  ca4e99    jp      z,#994e
1559  2e01      ld      l,#01
155b  cda292    call    #92a2
155e  97        sub     a
155f  325df1    ld      (#f15d),a
1562  dd36f700  ld      (ix-#09),#00
1566  2e06      ld      l,#06
1568  e5        push    hl
1569  219bf6    ld      hl,#f69b
156c  cdbe92    call    #92be
156f  79        ld      a,c
1570  b7        or      a
1571  ca4e99    jp      z,#994e
1574  dd36f900  ld      (ix-#07),#00
1578  dd7ef9    ld      a,(ix-#07)
157b  fe06      cp      #06
157d  f2a595    jp      p,#95a5
1580  219bf6    ld      hl,#f69b
1583  dd7ef9    ld      a,(ix-#07)
1586  5f        ld      e,a
1587  87        add     a,a
1588  9f        sbc     a,a
1589  57        ld      d,a
158a  19        add     hl,de
158b  7e        ld      a,(hl)
158c  dd77f2    ld      (ix-#0e),a
158f  3a9af6    ld      a,(#f69a)
1592  dd86f2    add     a,(ix-#0e)
1595  329af6    ld      (#f69a),a
1598  dd7ef2    ld      a,(ix-#0e)
159b  fe20      cp      #20
159d  201c      jr      nz,#15bb        ; (28)
159f  dd36f200  ld      (ix-#0e),#00
15a3  1816      jr      #15bb           ; (22)
15a5  dde5      push    ix
15a7  c1        pop     bc
15a8  21f2ff    ld      hl,#fff2
15ab  09        add     hl,bc
15ac  cdf692    call    #92f6
15af  79        ld      a,c
15b0  b7        or      a
15b1  202e      jr      nz,#15e1        ; (46)
15b3  c34e99    jp      #994e
15b6  dd34f9    inc     (ix-#07)
15b9  18bd      jr      #1578           ; (-67)
15bb  2157f1    ld      hl,#f157
15be  dd7ef9    ld      a,(ix-#07)
15c1  5f        ld      e,a
15c2  87        add     a,a
15c3  9f        sbc     a,a
15c4  57        ld      d,a
15c5  19        add     hl,de
15c6  7e        ld      a,(hl)
15c7  ddbef2    cp      (ix-#0e)
15ca  28ea      jr      z,#15b6         ; (-22)
15cc  2157f1    ld      hl,#f157
15cf  dd7ef9    ld      a,(ix-#07)
15d2  5f        ld      e,a
15d3  87        add     a,a
15d4  9f        sbc     a,a
15d5  57        ld      d,a
15d6  19        add     hl,de
15d7  dd7ef2    ld      a,(ix-#0e)
15da  77        ld      (hl),a
15db  dd36f701  ld      (ix-#09),#01
15df  18d5      jr      #15b6           ; (-43)
15e1  3a9af6    ld      a,(#f69a)
15e4  dd86f2    add     a,(ix-#0e)
15e7  329af6    ld      (#f69a),a
15ea  dd4ef2    ld      c,(ix-#0e)
15ed  97        sub     a
15ee  47        ld      b,a
15ef  c5        push    bc
15f0  210500    ld      hl,#0005
15f3  e5        push    hl
15f4  cddeb9    call    #b9de
15f7  e1        pop     hl
15f8  5d        ld      e,l
15f9  7b        ld      a,e
15fa  32b6f0    ld      (#f0b6),a
15fd  b7        or      a
15fe  2005      jr      nz,#1605        ; (5)
1600  3e20      ld      a,#20
1602  32b6f0    ld      (#f0b6),a
1605  dd6ef2    ld      l,(ix-#0e)
1608  7d        ld      a,l
1609  e61f      and     #1f
160b  6f        ld      l,a
160c  7d        ld      a,l
160d  32d9f0    ld      (#f0d9),a
1610  b7        or      a
1611  2005      jr      nz,#1618        ; (5)
1613  3e20      ld      a,#20
1615  32d9f0    ld      (#f0d9),a
1618  3ad9f0    ld      a,(#f0d9)
161b  c6ff      add     a,#ff
161d  6f        ld      l,a
161e  dd75f2    ld      (ix-#0e),l
1621  dd4ef2    ld      c,(ix-#0e)
1624  97        sub     a
1625  47        ld      b,a
1626  c5        push    bc
1627  210300    ld      hl,#0003
162a  e5        push    hl
162b  cddeb9    call    #b9de
162e  e1        pop     hl
162f  5d        ld      e,l
1630  1c        inc     e
1631  7b        ld      a,e
1632  32d8f0    ld      (#f0d8),a
1635  21d4f0    ld      hl,#f0d4
1638  e5        push    hl
1639  dd4ef2    ld      c,(ix-#0e)
163c  97        sub     a
163d  47        ld      b,a
163e  69        ld      l,c
163f  60        ld      h,b
1640  29        add     hl,hl
1641  29        add     hl,hl
1642  01bd03    ld      bc,#03bd
1645  09        add     hl,bc
1646  e5        push    hl
1647  df        rst     #18
1648  f1        pop     af
1649  213ff1    ld      hl,#f13f
164c  cdf692    call    #92f6
164f  79        ld      a,c
1650  b7        or      a
1651  ca4e99    jp      z,#994e
1654  213ff1    ld      hl,#f13f
1657  3a9af6    ld      a,(#f69a)
165a  86        add     a,(hl)
165b  329af6    ld      (#f69a),a
165e  dd36f900  ld      (ix-#07),#00
1662  216ae9    ld      hl,#e96a
1665  dd75f4    ld      (ix-#0c),l
1668  dd74f5    ld      (ix-#0b),h
166b  213ff1    ld      hl,#f13f
166e  dd7ef9    ld      a,(ix-#07)
1671  be        cp      (hl)
1672  f28596    jp      p,#9685
1675  2e08      ld      l,#08
1677  e5        push    hl
1678  219bf6    ld      hl,#f69b
167b  cdbe92    call    #92be
167e  79        ld      a,c
167f  b7        or      a
1680  2014      jr      nz,#1696        ; (20)
1682  c34e99    jp      #994e
1685  2e04      ld      l,#04
1687  e5        push    hl
1688  219bf6    ld      hl,#f69b
168b  cdbe92    call    #92be
168e  79        ld      a,c
168f  b7        or      a
1690  c21f97    jp      nz,#971f
1693  c34e99    jp      #994e
1696  2e08      ld      l,#08
1698  e5        push    hl
1699  219bf6    ld      hl,#f69b
169c  cd6699    call    #9966
169f  dd6ef4    ld      l,(ix-#0c)
16a2  dd66f5    ld      h,(ix-#0b)
16a5  23        inc     hl
16a6  3a9bf6    ld      a,(#f69b)
16a9  77        ld      (hl),a
16aa  dd6ef4    ld      l,(ix-#0c)
16ad  dd66f5    ld      h,(ix-#0b)
16b0  3a9cf6    ld      a,(#f69c)
16b3  77        ld      (hl),a
16b4  dd6ef4    ld      l,(ix-#0c)
16b7  dd66f5    ld      h,(ix-#0b)
16ba  23        inc     hl
16bb  23        inc     hl
16bc  23        inc     hl
16bd  3a9df6    ld      a,(#f69d)
16c0  77        ld      (hl),a
16c1  dd6ef4    ld      l,(ix-#0c)
16c4  dd66f5    ld      h,(ix-#0b)
16c7  23        inc     hl
16c8  23        inc     hl
16c9  3a9ef6    ld      a,(#f69e)
16cc  77        ld      (hl),a
16cd  dd6ef4    ld      l,(ix-#0c)
16d0  dd66f5    ld      h,(ix-#0b)
16d3  010500    ld      bc,#0005
16d6  09        add     hl,bc
16d7  3a9ff6    ld      a,(#f69f)
16da  77        ld      (hl),a
16db  dd6ef4    ld      l,(ix-#0c)
16de  dd66f5    ld      h,(ix-#0b)
16e1  23        inc     hl
16e2  23        inc     hl
16e3  23        inc     hl
16e4  23        inc     hl
16e5  3aa0f6    ld      a,(#f6a0)
16e8  77        ld      (hl),a
16e9  dd6ef4    ld      l,(ix-#0c)
16ec  dd66f5    ld      h,(ix-#0b)
16ef  010700    ld      bc,#0007
16f2  09        add     hl,bc
16f3  3aa1f6    ld      a,(#f6a1)
16f6  77        ld      (hl),a
16f7  dd6ef4    ld      l,(ix-#0c)
16fa  dd66f5    ld      h,(ix-#0b)
16fd  010600    ld      bc,#0006
1700  09        add     hl,bc
1701  3aa2f6    ld      a,(#f6a2)
1704  77        ld      (hl),a
1705  dd34f9    inc     (ix-#07)
1708  dd6ef4    ld      l,(ix-#0c)
170b  dd66f5    ld      h,(ix-#0b)
170e  7d        ld      a,l
170f  c608      add     a,#08
1711  6f        ld      l,a
1712  7c        ld      a,h
1713  ce00      adc     a,#00
1715  67        ld      h,a
1716  dd75f4    ld      (ix-#0c),l
1719  dd74f5    ld      (ix-#0b),h
171c  c36b96    jp      #966b
171f  2e04      ld      l,#04
1721  e5        push    hl
1722  219bf6    ld      hl,#f69b
1725  cd6699    call    #9966
1728  dd7ef7    ld      a,(ix-#09)
172b  b7        or      a
172c  2818      jr      z,#1746         ; (24)
172e  3a9bf6    ld      a,(#f69b)
1731  32c2f0    ld      (#f0c2),a
1734  3a9cf6    ld      a,(#f69c)
1737  32c1f0    ld      (#f0c1),a
173a  3a9df6    ld      a,(#f69d)
173d  32c4f0    ld      (#f0c4),a
1740  3a9ef6    ld      a,(#f69e)
1743  32c3f0    ld      (#f0c3),a
1746  2e04      ld      l,#04
1748  e5        push    hl
1749  219bf6    ld      hl,#f69b
174c  cdbe92    call    #92be
174f  79        ld      a,c
1750  b7        or      a
1751  ca4e99    jp      z,#994e
1754  2e04      ld      l,#04
1756  e5        push    hl
1757  219bf6    ld      hl,#f69b
175a  cd6699    call    #9966
175d  dd7ef7    ld      a,(ix-#09)
1760  b7        or      a
1761  2818      jr      z,#177b         ; (24)
1763  3a9bf6    ld      a,(#f69b)
1766  32e2f2    ld      (#f2e2),a
1769  3a9cf6    ld      a,(#f69c)
176c  32e1f2    ld      (#f2e1),a
176f  3a9df6    ld      a,(#f69d)
1772  32e4f2    ld      (#f2e4),a
1775  3a9ef6    ld      a,(#f69e)
1778  32e3f2    ld      (#f2e3),a
177b  2e02      ld      l,#02
177d  e5        push    hl
177e  219bf6    ld      hl,#f69b
1781  cdbe92    call    #92be
1784  79        ld      a,c
1785  b7        or      a
1786  ca4e99    jp      z,#994e
1789  2e02      ld      l,#02
178b  e5        push    hl
178c  219bf6    ld      hl,#f69b
178f  cd6699    call    #9966
1792  2130f3    ld      hl,#f330
1795  cdf692    call    #92f6
1798  79        ld      a,c
1799  b7        or      a
179a  ca4e99    jp      z,#994e
179d  2130f3    ld      hl,#f330
17a0  3a9af6    ld      a,(#f69a)
17a3  86        add     a,(hl)
17a4  329af6    ld      (#f69a),a
17a7  21daf0    ld      hl,#f0da
17aa  cdf692    call    #92f6
17ad  79        ld      a,c
17ae  b7        or      a
17af  ca4e99    jp      z,#994e
17b2  21daf0    ld      hl,#f0da
17b5  3a9af6    ld      a,(#f69a)
17b8  86        add     a,(hl)
17b9  329af6    ld      (#f69a),a
17bc  3adaf0    ld      a,(#f0da)
17bf  dd77f2    ld      (ix-#0e),a
17c2  dd36f900  ld      (ix-#07),#00
17c6  dd7ef9    ld      a,(ix-#07)
17c9  fe08      cp      #08
17cb  f2f597    jp      p,#97f5
17ce  dd6ef2    ld      l,(ix-#0e)
17d1  cb45      bit     0,l
17d3  2832      jr      z,#1807         ; (50)
17d5  2e06      ld      l,#06
17d7  e5        push    hl
17d8  dd7ef9    ld      a,(ix-#07)
17db  4f        ld      c,a
17dc  87        add     a,a
17dd  9f        sbc     a,a
17de  47        ld      b,a
17df  69        ld      l,c
17e0  60        ld      h,b
17e1  5d        ld      e,l
17e2  54        ld      d,h
17e3  29        add     hl,hl
17e4  19        add     hl,de
17e5  29        add     hl,hl
17e6  19        add     hl,de
17e7  01dbf0    ld      bc,#f0db
17ea  09        add     hl,bc
17eb  cdbe92    call    #92be
17ee  79        ld      a,c
17ef  b7        or      a
17f0  2022      jr      nz,#1814        ; (34)
17f2  c34e99    jp      #994e
17f5  dde5      push    ix
17f7  c1        pop     bc
17f8  21f2ff    ld      hl,#fff2
17fb  09        add     hl,bc
17fc  cdf692    call    #92f6
17ff  79        ld      a,c
1800  b7        or      a
1801  c27e98    jp      nz,#987e
1804  c34e99    jp      #994e
1807  dd7ef2    ld      a,(ix-#0e)
180a  b7        or      a
180b  1f        rra     
180c  dd77f2    ld      (ix-#0e),a
180f  dd34f9    inc     (ix-#07)
1812  18b2      jr      #17c6           ; (-78)
1814  2e06      ld      l,#06
1816  e5        push    hl
1817  dd7ef9    ld      a,(ix-#07)
181a  4f        ld      c,a
181b  87        add     a,a
181c  9f        sbc     a,a
181d  47        ld      b,a
181e  69        ld      l,c
181f  60        ld      h,b
1820  5d        ld      e,l
1821  54        ld      d,h
1822  29        add     hl,hl
1823  19        add     hl,de
1824  29        add     hl,hl
1825  19        add     hl,de
1826  01dbf0    ld      bc,#f0db
1829  09        add     hl,bc
182a  cd6699    call    #9966
182d  dd36f805  ld      (ix-#08),#05
1831  dd7ef8    ld      a,(ix-#08)
1834  b7        or      a
1835  2820      jr      z,#1857         ; (32)
1837  dd7ef9    ld      a,(ix-#07)
183a  4f        ld      c,a
183b  87        add     a,a
183c  9f        sbc     a,a
183d  47        ld      b,a
183e  69        ld      l,c
183f  60        ld      h,b
1840  5d        ld      e,l
1841  54        ld      d,h
1842  29        add     hl,hl
1843  19        add     hl,de
1844  29        add     hl,hl
1845  19        add     hl,de
1846  01dbf0    ld      bc,#f0db
1849  09        add     hl,bc
184a  dd7ef8    ld      a,(ix-#08)
184d  5f        ld      e,a
184e  87        add     a,a
184f  9f        sbc     a,a
1850  57        ld      d,a
1851  19        add     hl,de
1852  7e        ld      a,(hl)
1853  fe20      cp      #20
1855  2822      jr      z,#1879         ; (34)
1857  dd7ef9    ld      a,(ix-#07)
185a  4f        ld      c,a
185b  87        add     a,a
185c  9f        sbc     a,a
185d  47        ld      b,a
185e  69        ld      l,c
185f  60        ld      h,b
1860  5d        ld      e,l
1861  54        ld      d,h
1862  29        add     hl,hl
1863  19        add     hl,de
1864  29        add     hl,hl
1865  19        add     hl,de
1866  01dbf0    ld      bc,#f0db
1869  09        add     hl,bc
186a  dd4ef8    ld      c,(ix-#08)
186d  0c        inc     c
186e  79        ld      a,c
186f  5f        ld      e,a
1870  87        add     a,a
1871  9f        sbc     a,a
1872  57        ld      d,a
1873  19        add     hl,de
1874  3600      ld      (hl),#00
1876  c30798    jp      #9807
1879  dd35f8    dec     (ix-#08)
187c  18b3      jr      #1831           ; (-77)
187e  3a9af6    ld      a,(#f69a)
1881  dd86f2    add     a,(ix-#0e)
1884  329af6    ld      (#f69a),a
1887  dde5      push    ix
1889  c1        pop     bc
188a  21f2ff    ld      hl,#fff2
188d  09        add     hl,bc
188e  cdf692    call    #92f6
1891  79        ld      a,c
1892  b7        or      a
1893  ca4e99    jp      z,#994e
1896  dd6ef2    ld      l,(ix-#0e)
1899  cb75      bit     6,l
189b  2804      jr      z,#18a1         ; (4)
189d  0e01      ld      c,#01
189f  1802      jr      #18a3           ; (2)
18a1  0e00      ld      c,#00
18a3  dd71f3    ld      (ix-#0d),c
18a6  3a9af6    ld      a,(#f69a)
18a9  b7        or      a
18aa  280a      jr      z,#18b6         ; (10)
18ac  3e03      ld      a,#03
18ae  3255f1    ld      (#f155),a
18b1  0e00      ld      c,#00
18b3  c372be    jp      #be72
18b6  dd7ef7    ld      a,(ix-#09)
18b9  b7        or      a
18ba  2816      jr      z,#18d2         ; (22)
18bc  3adaf0    ld      a,(#f0da)
18bf  3213f1    ld      (#f113),a
18c2  3e0f      ld      a,#0f
18c4  325ef1    ld      (#f15e),a
18c7  3e02      ld      a,#02
18c9  3231f3    ld      (#f331),a
18cc  6f        ld      l,a
18cd  cdab99    call    #99ab
18d0  1818      jr      #18ea           ; (24)
18d2  3a5ef1    ld      a,(#f15e)
18d5  fe0f      cp      #0f
18d7  2811      jr      z,#18ea         ; (17)
18d9  2e00      ld      l,#00
18db  cda292    call    #92a2
18de  2e02      ld      l,#02
18e0  cdbe93    call    #93be
18e3  79        ld      a,c
18e4  b7        or      a
18e5  2020      jr      nz,#1907        ; (32)
18e7  c34e99    jp      #994e
18ea  dd7ef3    ld      a,(ix-#0d)
18ed  b7        or      a
18ee  2037      jr      nz,#1927        ; (55)
18f0  3a13f1    ld      a,(#f113)
18f3  b7        or      a
18f4  2831      jr      z,#1927         ; (49)
18f6  2e00      ld      l,#00
18f8  cda292    call    #92a2
18fb  2e06      ld      l,#06
18fd  cdbe93    call    #93be
1900  79        ld      a,c
1901  b7        or      a
1902  202c      jr      nz,#1930        ; (44)
1904  c34e99    jp      #994e
1907  3a5ef1    ld      a,(#f15e)
190a  6f        ld      l,a
190b  cdbe93    call    #93be
190e  79        ld      a,c
190f  b7        or      a
1910  283c      jr      z,#194e         ; (60)
1912  2e01      ld      l,#01
1914  cda292    call    #92a2
1917  dde5      push    ix
1919  c1        pop     bc
191a  21f2ff    ld      hl,#fff2
191d  09        add     hl,bc
191e  cdf692    call    #92f6
1921  79        ld      a,c
1922  b7        or      a
1923  20c5      jr      nz,#18ea        ; (-59)
1925  1827      jr      #194e           ; (39)
1927  97        sub     a
1928  3255f1    ld      (#f155),a
192b  0e01      ld      c,#01
192d  c372be    jp      #be72
1930  3a13f1    ld      a,(#f113)
1933  6f        ld      l,a
1934  cdbe93    call    #93be
1937  79        ld      a,c
1938  b7        or      a
1939  2813      jr      z,#194e         ; (19)
193b  2e01      ld      l,#01
193d  cda292    call    #92a2
1940  dde5      push    ix
1942  c1        pop     bc
1943  21f2ff    ld      hl,#fff2
1946  09        add     hl,bc
1947  cdf692    call    #92f6
194a  79        ld      a,c
194b  b7        or      a
194c  20d9      jr      nz,#1927        ; (-39)
194e  2ec0      ld      l,#c0
1950  cd5cba    call    #ba5c
1953  cb51      bit     2,c
1955  2804      jr      z,#195b         ; (4)
1957  0e02      ld      c,#02
1959  1802      jr      #195d           ; (2)
195b  0e01      ld      c,#01
195d  79        ld      a,c
195e  3255f1    ld      (#f155),a
1961  0e00      ld      c,#00
1963  c372be    jp      #be72
1966  e7        rst     #20
1967  21f9ff    ld      hl,#fff9
196a  39        add     hl,sp
196b  f9        ld      sp,hl
196c  dd36f900  ld      (ix-#07),#00
1970  dd7ef9    ld      a,(ix-#07)
1973  ddbe06    cp      (ix+#06)
1976  f29399    jp      p,#9993
1979  dd6e04    ld      l,(ix+#04)
197c  dd6605    ld      h,(ix+#05)
197f  dd3404    inc     (ix+#04)
1982  2003      jr      nz,#1987        ; (3)
1984  dd3405    inc     (ix+#05)
1987  3a9af6    ld      a,(#f69a)
198a  86        add     a,(hl)
198b  329af6    ld      (#f69a),a
198e  dd34f9    inc     (ix-#07)
1991  18dd      jr      #1970           ; (-35)
1993  c38bbe    jp      #be8b
1996  0640      ld      b,#40
1998  41        ld      b,c
1999  42        ld      b,d
199a  43        ld      b,e
199b  02        ld      (bc),a
199c  03        inc     bc
199d  c2990d    jp      nz,#0d99
19a0  9a        sbc     a,d
19a1  03        inc     bc
19a2  9a        sbc     a,d
19a3  f9        ld      sp,hl
19a4  99        sbc     a,c
19a5  ef        rst     #28
19a6  99        sbc     a,c
19a7  e5        push    hl
19a8  99        sbc     a,c
19a9  ba        cp      d
19aa  99        sbc     a,c
19ab  e7        rst     #20
19ac  2e20      ld      l,#20
19ae  cd5cba    call    #ba5c
19b1  dd4e04    ld      c,(ix+#04)
19b4  219699    ld      hl,#9996
19b7  c3edb8    jp      #b8ed
19ba  3a5ff1    ld      a,(#f15f)
19bd  f640      or      #40
19bf  325ff1    ld      (#f15f),a
19c2  2e34      ld      l,#34
19c4  e5        push    hl
19c5  2ec3      ld      l,#c3
19c7  cd62be    call    #be62
19ca  3a5ff1    ld      a,(#f15f)
19cd  f610      or      #10
19cf  f608      or      #08
19d1  f601      or      #01
19d3  6f        ld      l,a
19d4  e5        push    hl
19d5  2ec0      ld      l,#c0
19d7  cd62be    call    #be62
19da  2e3c      ld      l,#3c
19dc  e5        push    hl
19dd  2ec3      ld      l,#c3
19df  cd62be    call    #be62
19e2  c384be    jp      #be84
19e5  3a5ff1    ld      a,(#f15f)
19e8  e6bf      and     #bf
19ea  325ff1    ld      (#f15f),a
19ed  18d3      jr      #19c2           ; (-45)
19ef  3a5ff1    ld      a,(#f15f)
19f2  f620      or      #20
19f4  325ff1    ld      (#f15f),a
19f7  18c9      jr      #19c2           ; (-55)
19f9  3a5ff1    ld      a,(#f15f)
19fc  e6df      and     #df
19fe  325ff1    ld      (#f15f),a
1a01  18bf      jr      #19c2           ; (-65)
1a03  3a5ff1    ld      a,(#f15f)
1a06  f680      or      #80
1a08  325ff1    ld      (#f15f),a
1a0b  18b5      jr      #19c2           ; (-75)
1a0d  3a5ff1    ld      a,(#f15f)
1a10  e67f      and     #7f
1a12  325ff1    ld      (#f15f),a
1a15  c3c299    jp      #99c2
1a18  53        ld      d,e
1a19  41        ld      b,c
1a1a  56        ld      d,(hl)
1a1b  45        ld      b,l
1a1c  2053      jr      nz,#1a71        ; (83)
1a1e  54        ld      d,h
1a1f  45        ld      b,l
1a20  50        ld      d,b
1a21  00        nop     
1a22  f7        rst     #30
1a23  21c8ff    ld      hl,#ffc8
1a26  39        add     hl,sp
1a27  f9        ld      sp,hl
1a28  97        sub     a
1a29  3225f1    ld      (#f125),a
1a2c  3a26f1    ld      a,(#f126)
1a2f  fe45      cp      #45
1a31  2005      jr      nz,#1a38        ; (5)
1a33  0e01      ld      c,#01
1a35  c372be    jp      #be72
1a38  dde5      push    ix
1a3a  c1        pop     bc
1a3b  21c9ff    ld      hl,#ffc9
1a3e  09        add     hl,bc
1a3f  cdc987    call    #87c9
1a42  dd71c8    ld      (ix-#38),c
1a45  2a53f3    ld      hl,(#f353)
1a48  ed4b4df3  ld      bc,(#f34d)
1a4c  7d        ld      a,l
1a4d  91        sub     c
1a4e  6f        ld      l,a
1a4f  7c        ld      a,h
1a50  98        sbc     a,b
1a51  67        ld      h,a
1a52  dd7ec8    ld      a,(ix-#38)
1a55  5f        ld      e,a
1a56  87        add     a,a
1a57  9f        sbc     a,a
1a58  57        ld      d,a
1a59  7d        ld      a,l
1a5a  93        sub     e
1a5b  7c        ld      a,h
1a5c  9a        sbc     a,d
1a5d  f2729a    jp      p,#9a72
1a60  2e58      ld      l,#58
1a62  cf        rst     #8
1a63  2e5f      ld      l,#5f
1a65  d7        rst     #10
1a66  21189a    ld      hl,#9a18
1a69  ef        rst     #28
1a6a  cdcaaa    call    #aaca
1a6d  0e01      ld      c,#01
1a6f  c372be    jp      #be72
1a72  2a55f3    ld      hl,(#f355)
1a75  dd7ec8    ld      a,(ix-#38)
1a78  5f        ld      e,a
1a79  87        add     a,a
1a7a  9f        sbc     a,a
1a7b  57        ld      d,a
1a7c  19        add     hl,de
1a7d  e5        push    hl
1a7e  2a4df3    ld      hl,(#f34d)
1a81  e5        push    hl
1a82  2a55f3    ld      hl,(#f355)
1a85  cdd79a    call    #9ad7
1a88  2a55f3    ld      hl,(#f355)
1a8b  225df3    ld      (#f35d),hl
1a8e  dd36f900  ld      (ix-#07),#00
1a92  dd7ef9    ld      a,(ix-#07)
1a95  ddbec8    cp      (ix-#38)
1a98  f2c49a    jp      p,#9ac4
1a9b  2a55f3    ld      hl,(#f355)
1a9e  e5        push    hl
1a9f  23        inc     hl
1aa0  2255f3    ld      (#f355),hl
1aa3  e1        pop     hl
1aa4  e5        push    hl
1aa5  dd6ef9    ld      l,(ix-#07)
1aa8  e5        push    hl
1aa9  dd34f9    inc     (ix-#07)
1aac  e1        pop     hl
1aad  7d        ld      a,l
1aae  4f        ld      c,a
1aaf  87        add     a,a
1ab0  9f        sbc     a,a
1ab1  47        ld      b,a
1ab2  69        ld      l,c
1ab3  60        ld      h,b
1ab4  e5        push    hl
1ab5  dde5      push    ix
1ab7  c1        pop     bc
1ab8  21c9ff    ld      hl,#ffc9
1abb  09        add     hl,bc
1abc  e3        ex      (sp),hl
1abd  c1        pop     bc
1abe  09        add     hl,bc
1abf  c1        pop     bc
1ac0  7e        ld      a,(hl)
1ac1  02        ld      (bc),a
1ac2  18ce      jr      #1a92           ; (-50)
1ac4  2a4df3    ld      hl,(#f34d)
1ac7  dd7ec8    ld      a,(ix-#38)
1aca  5f        ld      e,a
1acb  87        add     a,a
1acc  9f        sbc     a,a
1acd  57        ld      d,a
1ace  19        add     hl,de
1acf  224df3    ld      (#f34d),hl
1ad2  0e00      ld      c,#00
1ad4  c372be    jp      #be72
1ad7  cd77be    call    #be77
1ada  dd7e06    ld      a,(ix+#06)
1add  dd9604    sub     (ix+#04)
1ae0  4f        ld      c,a
1ae1  dd7e07    ld      a,(ix+#07)
1ae4  dd9e05    sbc     a,(ix+#05)
1ae7  47        ld      b,a
1ae8  da93be    jp      c,#be93
1aeb  03        inc     bc
1aec  dd7e04    ld      a,(ix+#04)
1aef  dd9608    sub     (ix+#08)
1af2  dd7e05    ld      a,(ix+#05)
1af5  dd9e09    sbc     a,(ix+#09)
1af8  d2109b    jp      nc,#9b10
1afb  dd6e08    ld      l,(ix+#08)
1afe  dd6609    ld      h,(ix+#09)
1b01  09        add     hl,bc
1b02  2b        dec     hl
1b03  5d        ld      e,l
1b04  54        ld      d,h
1b05  dd6e06    ld      l,(ix+#06)
1b08  dd6607    ld      h,(ix+#07)
1b0b  edb8      lddr    
1b0d  c393be    jp      #be93
1b10  dd5e08    ld      e,(ix+#08)
1b13  dd5609    ld      d,(ix+#09)
1b16  dd6e04    ld      l,(ix+#04)
1b19  dd6605    ld      h,(ix+#05)
1b1c  edb0      ldir    
1b1e  c393be    jp      #be93
1b21  e7        rst     #20
1b22  2e50      ld      l,#50
1b24  e5        push    hl
1b25  dd6e04    ld      l,(ix+#04)
1b28  dd6605    ld      h,(ix+#05)
1b2b  cd6ab6    call    #b66a
1b2e  c384be    jp      #be84
1b31  e7        rst     #20
1b32  dd3404    inc     (ix+#04)
1b35  dd7e04    ld      a,(ix+#04)
1b38  4f        ld      c,a
1b39  87        add     a,a
1b3a  9f        sbc     a,a
1b3b  47        ld      b,a
1b3c  69        ld      l,c
1b3d  60        ld      h,b
1b3e  29        add     hl,hl
1b3f  015ff3    ld      bc,#f35f
1b42  09        add     hl,bc
1b43  7e        ld      a,(hl)
1b44  23        inc     hl
1b45  b6        or      (hl)
1b46  28ea      jr      z,#1b32         ; (-22)
1b48  dd7e04    ld      a,(ix+#04)
1b4b  4f        ld      c,a
1b4c  87        add     a,a
1b4d  9f        sbc     a,a
1b4e  47        ld      b,a
1b4f  69        ld      l,c
1b50  60        ld      h,b
1b51  29        add     hl,hl
1b52  015ff3    ld      bc,#f35f
1b55  09        add     hl,bc
1b56  7e        ld      a,(hl)
1b57  23        inc     hl
1b58  66        ld      h,(hl)
1b59  6f        ld      l,a
1b5a  4d        ld      c,l
1b5b  44        ld      b,h
1b5c  c384be    jp      #be84
1b5f  e7        rst     #20
1b60  21f6ff    ld      hl,#fff6
1b63  39        add     hl,sp
1b64  f9        ld      sp,hl
1b65  dd6e04    ld      l,(ix+#04)
1b68  dd6605    ld      h,(ix+#05)
1b6b  cdb59b    call    #9bb5
1b6e  dd71f8    ld      (ix-#08),c
1b71  dd70f9    ld      (ix-#07),b
1b74  dd6ef8    ld      l,(ix-#08)
1b77  dd66f9    ld      h,(ix-#07)
1b7a  7e        ld      a,(hl)
1b7b  fe2c      cp      #2c
1b7d  202b      jr      nz,#1baa        ; (43)
1b7f  dd6ef8    ld      l,(ix-#08)
1b82  dd66f9    ld      h,(ix-#07)
1b85  cdb59b    call    #9bb5
1b88  dd71f6    ld      (ix-#0a),c
1b8b  dd70f7    ld      (ix-#09),b
1b8e  dd6ef6    ld      l,(ix-#0a)
1b91  dd66f7    ld      h,(ix-#09)
1b94  7e        ld      a,(hl)
1b95  fe2d      cp      #2d
1b97  2008      jr      nz,#1ba1        ; (8)
1b99  dd4ef6    ld      c,(ix-#0a)
1b9c  dd46f7    ld      b,(ix-#09)
1b9f  1806      jr      #1ba7           ; (6)
1ba1  dd4ef8    ld      c,(ix-#08)
1ba4  dd46f9    ld      b,(ix-#07)
1ba7  c384be    jp      #be84
1baa  dd6ef8    ld      l,(ix-#08)
1bad  dd66f9    ld      h,(ix-#07)
1bb0  4d        ld      c,l
1bb1  44        ld      b,h
1bb2  c384be    jp      #be84
1bb5  e7        rst     #20
1bb6  21f9ff    ld      hl,#fff9
1bb9  39        add     hl,sp
1bba  f9        ld      sp,hl
1bbb  dd7e04    ld      a,(ix+#04)
1bbe  d601      sub     #01
1bc0  dd7704    ld      (ix+#04),a
1bc3  dd7e05    ld      a,(ix+#05)
1bc6  de00      sbc     a,#00
1bc8  dd7705    ld      (ix+#05),a
1bcb  dd6e04    ld      l,(ix+#04)
1bce  dd6605    ld      h,(ix+#05)
1bd1  7e        ld      a,(hl)
1bd2  dd77f9    ld      (ix-#07),a
1bd5  dd6ef9    ld      l,(ix-#07)
1bd8  cd7ba3    call    #a37b
1bdb  79        ld      a,c
1bdc  b7        or      a
1bdd  f2ed9b    jp      p,#9bed
1be0  18d9      jr      #1bbb           ; (-39)
1be2  dd6e04    ld      l,(ix+#04)
1be5  dd6605    ld      h,(ix+#05)
1be8  4d        ld      c,l
1be9  44        ld      b,h
1bea  c384be    jp      #be84
1bed  dd7ef9    ld      a,(ix-#07)
1bf0  fe32      cp      #32
1bf2  fae29b    jp      m,#9be2
1bf5  3e36      ld      a,#36
1bf7  ddbef9    cp      (ix-#07)
1bfa  fae29b    jp      m,#9be2
1bfd  dd6e04    ld      l,(ix+#04)
1c00  dd6605    ld      h,(ix+#05)
1c03  23        inc     hl
1c04  7e        ld      a,(hl)
1c05  e6f0      and     #f0
1c07  20b2      jr      nz,#1bbb        ; (-78)
1c09  18d7      jr      #1be2           ; (-41)
1c0b  e7        rst     #20
1c0c  f5        push    af
1c0d  f5        push    af
1c0e  f5        push    af
1c0f  f5        push    af
1c10  dd6e04    ld      l,(ix+#04)
1c13  dd6605    ld      h,(ix+#05)
1c16  7e        ld      a,(hl)
1c17  dd77f8    ld      (ix-#08),a
1c1a  dd3404    inc     (ix+#04)
1c1d  2003      jr      nz,#1c22        ; (3)
1c1f  dd3405    inc     (ix+#05)
1c22  dd6e04    ld      l,(ix+#04)
1c25  dd6605    ld      h,(ix+#05)
1c28  7e        ld      a,(hl)
1c29  dd77f9    ld      (ix-#07),a
1c2c  dd6ef9    ld      l,(ix-#07)
1c2f  cd7ba3    call    #a37b
1c32  79        ld      a,c
1c33  b7        or      a
1c34  f2509c    jp      p,#9c50
1c37  18e1      jr      #1c1a           ; (-31)
1c39  dd7ef8    ld      a,(ix-#08)
1c3c  fe2d      cp      #2d
1c3e  202f      jr      nz,#1c6f        ; (47)
1c40  dd6e04    ld      l,(ix+#04)
1c43  dd6605    ld      h,(ix+#05)
1c46  23        inc     hl
1c47  23        inc     hl
1c48  dd7504    ld      (ix+#04),l
1c4b  dd7405    ld      (ix+#05),h
1c4e  181f      jr      #1c6f           ; (31)
1c50  dd7ef9    ld      a,(ix-#07)
1c53  fe32      cp      #32
1c55  fa399c    jp      m,#9c39
1c58  3e36      ld      a,#36
1c5a  ddbef9    cp      (ix-#07)
1c5d  fa399c    jp      m,#9c39
1c60  dd6e04    ld      l,(ix+#04)
1c63  dd6605    ld      h,(ix+#05)
1c66  23        inc     hl
1c67  7e        ld      a,(hl)
1c68  e6f0      and     #f0
1c6a  c21a9c    jp      nz,#9c1a
1c6d  18ca      jr      #1c39           ; (-54)
1c6f  dd6e04    ld      l,(ix+#04)
1c72  dd6605    ld      h,(ix+#05)
1c75  4d        ld      c,l
1c76  44        ld      b,h
1c77  c384be    jp      #be84
1c7a  04        inc     b
1c7b  00        nop     
1c7c  00        nop     
1c7d  00        nop     
1c7e  00        nop     
1c7f  010706    ld      bc,#0607
1c82  05        dec     b
1c83  08        ex      af,af'
1c84  00        nop     
1c85  00        nop     
1c86  00        nop     
1c87  00        nop     
1c88  00        nop     
1c89  09        add     hl,bc
1c8a  0c        inc     c
1c8b  0a        ld      a,(bc)
1c8c  0d        dec     c
1c8d  0e0f      ld      c,#0f
1c8f  00        nop     
1c90  00        nop     
1c91  00        nop     
1c92  03        inc     bc
1c93  1b        dec     de
1c94  00        nop     
1c95  1011      djnz    #1ca8           ; (17)
1c97  19        add     hl,de
1c98  00        nop     
1c99  00        nop     
1c9a  00        nop     
1c9b  00        nop     
1c9c  12        ld      (de),a
1c9d  13        inc     de
1c9e  14        inc     d
1c9f  15        dec     d
1ca0  160b      ld      d,#0b
1ca2  00        nop     
1ca3  02        ld      (bc),a
1ca4  00        nop     
1ca5  00        nop     
1ca6  17        rla     
1ca7  00        nop     
1ca8  1a        ld      a,(de)
1ca9  1c        inc     e
1caa  00        nop     
1cab  00        nop     
1cac  00        nop     
1cad  00        nop     
1cae  1800      jr      #1cb0           ; (0)
1cb0  00        nop     
1cb1  00        nop     
1cb2  00        nop     
1cb3  00        nop     
1cb4  00        nop     
1cb5  00        nop     
1cb6  00        nop     
1cb7  00        nop     
1cb8  00        nop     
1cb9  1d        dec     e
1cba  d9        exx     
1cbb  9d        sbc     a,l
1cbc  d0        ret     nc

1cbd  9d        sbc     a,l
1cbe  c5        push    bc
1cbf  9d        sbc     a,l
1cc0  c0        ret     nz

1cc1  9d        sbc     a,l
1cc2  ba        cp      d
1cc3  9d        sbc     a,l
1cc4  b0        or      b
1cc5  9d        sbc     a,l
1cc6  a7        and     a
1cc7  9d        sbc     a,l
1cc8  9e        sbc     a,(hl)
1cc9  9d        sbc     a,l
1cca  96        sub     (hl)
1ccb  9d        sbc     a,l
1ccc  8e        adc     a,(hl)
1ccd  9d        sbc     a,l
1cce  86        add     a,(hl)
1ccf  9d        sbc     a,l
1cd0  75        ld      (hl),l
1cd1  9d        sbc     a,l
1cd2  6c        ld      l,h
1cd3  9d        sbc     a,l
1cd4  64        ld      h,h
1cd5  9d        sbc     a,l
1cd6  5c        ld      e,h
1cd7  9d        sbc     a,l
1cd8  54        ld      d,h
1cd9  9d        sbc     a,l
1cda  4d        ld      c,l
1cdb  9d        sbc     a,l
1cdc  47        ld      b,a
1cdd  9d        sbc     a,l
1cde  3f        ccf     
1cdf  9d        sbc     a,l
1ce0  37        scf     
1ce1  9d        sbc     a,l
1ce2  2f        cpl     
1ce3  9d        sbc     a,l
1ce4  27        daa     
1ce5  9d        sbc     a,l
1ce6  1f        rra     
1ce7  9d        sbc     a,l
1ce8  19        add     hl,de
1ce9  9d        sbc     a,l
1cea  15        dec     d
1ceb  9d        sbc     a,l
1cec  119d0c    ld      de,#0c9d
1cef  9d        sbc     a,l
1cf0  04        inc     b
1cf1  9d        sbc     a,l
1cf2  ff        rst     #38
1cf3  9c        sbc     a,h
1cf4  f69c      or      #9c
1cf6  3c        inc     a
1cf7  42        ld      b,d
1cf8  49        ld      c,c
1cf9  4e        ld      c,(hl)
1cfa  41        ld      b,c
1cfb  52        ld      d,d
1cfc  59        ld      e,c
1cfd  3e00      ld      a,#00
1cff  41        ld      b,c
1d00  55        ld      d,l
1d01  58        ld      e,b
1d02  2d        dec     l
1d03  00        nop     
1d04  52        ld      d,d
1d05  55        ld      d,l
1d06  4e        ld      c,(hl)
1d07  2055      jr      nz,#1d5e        ; (85)
1d09  55        ld      d,l
1d0a  54        ld      d,h
1d0b  00        nop     
1d0c  44        ld      b,h
1d0d  50        ld      d,b
1d0e  59        ld      e,c
1d0f  2d        dec     l
1d10  00        nop     
1d11  49        ld      c,c
1d12  46        ld      b,(hl)
1d13  2000      jr      nz,#1d15        ; (0)
1d15  52        ld      d,d
1d16  45        ld      b,l
1d17  47        ld      b,a
1d18  00        nop     
1d19  53        ld      d,e
1d1a  59        ld      e,c
1d1b  4e        ld      c,(hl)
1d1c  43        ld      b,e
1d1d  2000      jr      nz,#1d1f        ; (0)
1d1f  43        ld      b,e
1d20  50        ld      d,b
1d21  4c        ld      c,h
1d22  2052      jr      nz,#1d76        ; (82)
1d24  45        ld      b,l
1d25  47        ld      b,a
1d26  00        nop     
1d27  44        ld      b,h
1d28  45        ld      b,l
1d29  43        ld      b,e
1d2a  2052      jr      nz,#1d7e        ; (82)
1d2c  45        ld      b,l
1d2d  47        ld      b,a
1d2e  00        nop     
1d2f  49        ld      c,c
1d30  4e        ld      c,(hl)
1d31  43        ld      b,e
1d32  2052      jr      nz,#1d86        ; (82)
1d34  45        ld      b,l
1d35  47        ld      b,a
1d36  00        nop     
1d37  53        ld      d,e
1d38  48        ld      c,b
1d39  52        ld      d,d
1d3a  2052      jr      nz,#1d8e        ; (82)
1d3c  45        ld      b,l
1d3d  47        ld      b,a
1d3e  00        nop     
1d3f  53        ld      d,e
1d40  48        ld      c,b
1d41  4c        ld      c,h
1d42  2052      jr      nz,#1d96        ; (82)
1d44  45        ld      b,l
1d45  47        ld      b,a
1d46  00        nop     
1d47  47        ld      b,a
1d48  4f        ld      c,a
1d49  54        ld      d,h
1d4a  4f        ld      c,a
1d4b  2000      jr      nz,#1d4d        ; (0)
1d4d  4c        ld      c,h
1d4e  41        ld      b,c
1d4f  42        ld      b,d
1d50  45        ld      b,l
1d51  4c        ld      c,h
1d52  2000      jr      nz,#1d54        ; (0)
1d54  44        ld      b,h
1d55  54        ld      d,h
1d56  4f        ld      c,a
1d57  47        ld      b,a
1d58  2040      jr      nz,#1d9a        ; (64)
1d5a  2000      jr      nz,#1d5c        ; (0)
1d5c  41        ld      b,c
1d5d  54        ld      d,h
1d5e  4f        ld      c,a
1d5f  47        ld      b,a
1d60  2040      jr      nz,#1da2        ; (64)
1d62  2000      jr      nz,#1d64        ; (0)
1d64  57        ld      d,a
1d65  41        ld      b,c
1d66  4c        ld      c,h
1d67  4b        ld      c,e
1d68  2040      jr      nz,#1daa        ; (64)
1d6a  2000      jr      nz,#1d6c        ; (0)
1d6c  57        ld      d,a
1d6d  52        ld      d,d
1d6e  49        ld      c,c
1d6f  54        ld      d,h
1d70  45        ld      b,l
1d71  2040      jr      nz,#1db3        ; (64)
1d73  2000      jr      nz,#1d75        ; (0)
1d75  45        ld      b,l
1d76  58        ld      e,b
1d77  45        ld      b,l
1d78  43        ld      b,e
1d79  55        ld      d,l
1d7a  54        ld      d,h
1d7b  45        ld      b,l
1d7c  2050      jr      nz,#1dce        ; (80)
1d7e  52        ld      d,d
1d7f  4f        ld      c,a
1d80  47        ld      b,a
1d81  52        ld      d,d
1d82  41        ld      b,c
1d83  4d        ld      c,l
1d84  2000      jr      nz,#1d86        ; (0)
1d86  52        ld      d,d
1d87  41        ld      b,c
1d88  4d        ld      c,l
1d89  50        ld      d,b
1d8a  2040      jr      nz,#1dcc        ; (64)
1d8c  2000      jr      nz,#1d8e        ; (0)
1d8e  52        ld      d,d
1d8f  45        ld      b,l
1d90  41        ld      b,c
1d91  44        ld      b,h
1d92  2040      jr      nz,#1dd4        ; (64)
1d94  2000      jr      nz,#1d96        ; (0)
1d96  49        ld      c,c
1d97  4f        ld      c,a
1d98  2054      jr      nz,#1dee        ; (84)
1d9a  45        ld      b,l
1d9b  53        ld      d,e
1d9c  54        ld      d,h
1d9d  00        nop     
1d9e  52        ld      d,d
1d9f  4f        ld      c,a
1da0  4d        ld      c,l
1da1  2054      jr      nz,#1df7        ; (84)
1da3  45        ld      b,l
1da4  53        ld      d,e
1da5  54        ld      d,h
1da6  00        nop     
1da7  52        ld      d,d
1da8  41        ld      b,c
1da9  4d        ld      c,l
1daa  204c      jr      nz,#1df8        ; (76)
1dac  4f        ld      c,a
1dad  4e        ld      c,(hl)
1dae  47        ld      b,a
1daf  00        nop     
1db0  52        ld      d,d
1db1  41        ld      b,c
1db2  4d        ld      c,l
1db3  2053      jr      nz,#1e08        ; (83)
1db5  48        ld      c,b
1db6  4f        ld      c,a
1db7  52        ld      d,d
1db8  54        ld      d,h
1db9  00        nop     
1dba  4c        ld      c,h
1dbb  45        ld      b,l
1dbc  41        ld      b,c
1dbd  52        ld      d,d
1dbe  4e        ld      c,(hl)
1dbf  00        nop     
1dc0  53        ld      d,e
1dc1  54        ld      d,h
1dc2  4f        ld      c,a
1dc3  50        ld      d,b
1dc4  00        nop     
1dc5  52        ld      d,d
1dc6  45        ld      b,l
1dc7  41        ld      b,c
1dc8  44        ld      b,h
1dc9  2050      jr      nz,#1e1b        ; (80)
1dcb  52        ld      d,d
1dcc  4f        ld      c,a
1dcd  42        ld      b,d
1dce  45        ld      b,l
1dcf  00        nop     
1dd0  42        ld      b,d
1dd1  55        ld      d,l
1dd2  53        ld      d,e
1dd3  2054      jr      nz,#1e29        ; (84)
1dd5  45        ld      b,l
1dd6  53        ld      d,e
1dd7  54        ld      d,h
1dd8  00        nop     
1dd9  41        ld      b,c
1dda  55        ld      d,l
1ddb  54        ld      d,h
1ddc  4f        ld      c,a
1ddd  2054      jr      nz,#1e33        ; (84)
1ddf  45        ld      b,l
1de0  53        ld      d,e
1de1  54        ld      d,h
1de2  00        nop     
1de3  00        nop     
1de4  00        nop     
1de5  00        nop     
1de6  00        nop     
1de7  010101    ld      bc,#0101
1dea  02        ld      (bc),a
1deb  02        ld      (bc),a
1dec  03        inc     bc
1ded  03        inc     bc
1dee  03        inc     bc
1def  04        inc     b
1df0  04        inc     b
1df1  04        inc     b
1df2  05        dec     b
1df3  0606      ld      b,#06
1df5  0606      ld      b,#06
1df7  0606      ld      b,#06
1df9  060b      ld      b,#0b
1dfb  07        rlca    
1dfc  08        ex      af,af'
1dfd  09        add     hl,bc
1dfe  0a        ld      a,(bc)
1dff  09        add     hl,bc
1e00  00        nop     
1e01  03        inc     bc
1e02  0a        ld      a,(bc)
1e03  0d        dec     c
1e04  0f        rrca    
1e05  b1        or      c
1e06  a1        and     c
1e07  a8        xor     b
1e08  a1        and     c
1e09  9f        sbc     a,a
1e0a  a1        and     c
1e0b  93        sub     e
1e0c  a1        and     c
1e0d  0c        inc     c
1e0e  00        nop     
1e0f  010203    ld      bc,#0302
1e12  04        inc     b
1e13  05        dec     b
1e14  0607      ld      b,#07
1e16  08        ex      af,af'
1e17  09        add     hl,bc
1e18  0a        ld      a,(bc)
1e19  0b        dec     bc
1e1a  09        add     hl,bc
1e1b  9f        sbc     a,a
1e1c  89        adc     a,c
1e1d  a1        and     c
1e1e  64        ld      h,h
1e1f  a1        and     c
1e20  2c        inc     l
1e21  a1        and     c
1e22  a5        and     l
1e23  a0        and     b
1e24  5d        ld      e,l
1e25  a0        and     b
1e26  35        dec     (hl)
1e27  a0        and     b
1e28  f69f      or      #9f
1e2a  b1        or      c
1e2b  9f        sbc     a,a
1e2c  83        add     a,e
1e2d  9f        sbc     a,a
1e2e  0b        dec     bc
1e2f  9f        sbc     a,a
1e30  0b        dec     bc
1e31  9f        sbc     a,a
1e32  ec9e20    call    pe,#209e
1e35  52        ld      d,d
1e36  45        ld      b,l
1e37  50        ld      d,b
1e38  54        ld      d,h
1e39  00        nop     
1e3a  204c      jr      nz,#1e88        ; (76)
1e3c  4f        ld      c,a
1e3d  4f        ld      c,a
1e3e  50        ld      d,b
1e3f  00        nop     
1e40  46        ld      b,(hl)
1e41  52        ld      d,d
1e42  45        ld      b,l
1e43  45        ld      b,l
1e44  2d        dec     l
1e45  52        ld      d,d
1e46  55        ld      d,l
1e47  4e        ld      c,(hl)
1e48  00        nop     
1e49  44        ld      b,h
1e4a  41        ld      b,c
1e4b  54        ld      d,h
1e4c  41        ld      b,c
1e4d  00        nop     
1e4e  41        ld      b,c
1e4f  44        ld      b,h
1e50  44        ld      b,h
1e51  52        ld      d,d
1e52  45        ld      b,l
1e53  53        ld      d,e
1e54  53        ld      d,e
1e55  00        nop     
1e56  2040      jr      nz,#1e98        ; (64)
1e58  2000      jr      nz,#1e5a        ; (0)
1e5a  47        ld      b,a
1e5b  4f        ld      c,a
1e5c  54        ld      d,h
1e5d  4f        ld      c,a
1e5e  2000      jr      nz,#1e60        ; (0)
1e60  203d      jr      nz,#1e9f        ; (61)
1e62  2000      jr      nz,#1e64        ; (0)
1e64  42        ld      b,d
1e65  49        ld      c,c
1e66  54        ld      d,h
1e67  2000      jr      nz,#1e69        ; (0)
1e69  3d        dec     a
1e6a  2000      jr      nz,#1e6c        ; (0)
1e6c  43        ld      b,e
1e6d  54        ld      d,h
1e6e  4c        ld      c,h
1e6f  2000      jr      nz,#1e71        ; (0)
1e71  3d        dec     a
1e72  2000      jr      nz,#1e74        ; (0)
1e74  42        ld      b,d
1e75  49        ld      c,c
1e76  54        ld      d,h
1e77  2000      jr      nz,#1e79        ; (0)
1e79  43        ld      b,e
1e7a  54        ld      d,h
1e7b  4c        ld      c,h
1e7c  2000      jr      nz,#1e7e        ; (0)
1e7e  53        ld      d,e
1e7f  54        ld      d,h
1e80  53        ld      d,e
1e81  00        nop     
1e82  42        ld      b,d
1e83  54        ld      d,h
1e84  53        ld      d,e
1e85  2000      jr      nz,#1e87        ; (0)
1e87  53        ld      d,e
1e88  49        ld      c,c
1e89  47        ld      b,a
1e8a  2000      jr      nz,#1e8c        ; (0)
1e8c  2d        dec     l
1e8d  00        nop     
1e8e  2040      jr      nz,#1ed0        ; (64)
1e90  2000      jr      nz,#1e92        ; (0)
1e92  e7        rst     #20
1e93  21f7ff    ld      hl,#fff7
1e96  39        add     hl,sp
1e97  f9        ld      sp,hl
1e98  dd6e04    ld      l,(ix+#04)
1e9b  dd6605    ld      h,(ix+#05)
1e9e  22a3f6    ld      (#f6a3),hl
1ea1  e5        push    hl
1ea2  2aa3f6    ld      hl,(#f6a3)
1ea5  23        inc     hl
1ea6  22a3f6    ld      (#f6a3),hl
1ea9  e1        pop     hl
1eaa  7e        ld      a,(hl)
1eab  dd77f7    ld      (ix-#09),a
1eae  dd7ef7    ld      a,(ix-#09)
1eb1  4f        ld      c,a
1eb2  87        add     a,a
1eb3  9f        sbc     a,a
1eb4  47        ld      b,a
1eb5  69        ld      l,c
1eb6  60        ld      h,b
1eb7  016a9c    ld      bc,#9c6a
1eba  09        add     hl,bc
1ebb  7e        ld      a,(hl)
1ebc  dd77f8    ld      (ix-#08),a
1ebf  21a5f6    ld      hl,#f6a5
1ec2  22a5f7    ld      (#f7a5),hl
1ec5  dd7ef8    ld      a,(ix-#08)
1ec8  4f        ld      c,a
1ec9  87        add     a,a
1eca  9f        sbc     a,a
1ecb  47        ld      b,a
1ecc  69        ld      l,c
1ecd  60        ld      h,b
1ece  29        add     hl,hl
1ecf  01ba9c    ld      bc,#9cba
1ed2  09        add     hl,bc
1ed3  7e        ld      a,(hl)
1ed4  23        inc     hl
1ed5  66        ld      h,(hl)
1ed6  6f        ld      l,a
1ed7  cdc0a2    call    #a2c0
1eda  21e39d    ld      hl,#9de3
1edd  dd7ef8    ld      a,(ix-#08)
1ee0  5f        ld      e,a
1ee1  87        add     a,a
1ee2  9f        sbc     a,a
1ee3  57        ld      d,a
1ee4  19        add     hl,de
1ee5  4e        ld      c,(hl)
1ee6  210d9e    ld      hl,#9e0d
1ee9  c3edb8    jp      #b8ed
1eec  2aa3f6    ld      hl,(#f6a3)
1eef  e5        push    hl
1ef0  23        inc     hl
1ef1  22a3f6    ld      (#f6a3),hl
1ef4  e1        pop     hl
1ef5  7e        ld      a,(hl)
1ef6  dd77f9    ld      (ix-#07),a
1ef9  dd7ef9    ld      a,(ix-#07)
1efc  fe27      cp      #27
1efe  c2e4a1    jp      nz,#a1e4
1f01  213a9e    ld      hl,#9e3a
1f04  cdc0a2    call    #a2c0
1f07  18e3      jr      #1eec           ; (-29)
1f09  18e1      jr      #1eec           ; (-31)
1f0b  2aa3f6    ld      hl,(#f6a3)
1f0e  7e        ld      a,(hl)
1f0f  fe1c      cp      #1c
1f11  282c      jr      z,#1f3f         ; (44)
1f13  218e9e    ld      hl,#9e8e
1f16  cdc0a2    call    #a2c0
1f19  cd2ea2    call    #a22e
1f1c  2aa3f6    ld      hl,(#f6a3)
1f1f  7e        ld      a,(hl)
1f20  fe1c      cp      #1c
1f22  2825      jr      z,#1f49         ; (37)
1f24  3aa5f7    ld      a,(#f7a5)
1f27  d601      sub     #01
1f29  32a5f7    ld      (#f7a5),a
1f2c  3aa6f7    ld      a,(#f7a6)
1f2f  de00      sbc     a,#00
1f31  32a6f7    ld      (#f7a6),a
1f34  218c9e    ld      hl,#9e8c
1f37  cdc0a2    call    #a2c0
1f3a  cd2ea2    call    #a22e
1f3d  1811      jr      #1f50           ; (17)
1f3f  2aa3f6    ld      hl,(#f6a3)
1f42  23        inc     hl
1f43  22a3f6    ld      (#f6a3),hl
1f46  c3ec9e    jp      #9eec
1f49  2aa3f6    ld      hl,(#f6a3)
1f4c  23        inc     hl
1f4d  22a3f6    ld      (#f6a3),hl
1f50  dd7ef7    ld      a,(ix-#09)
1f53  fe16      cp      #16
1f55  2009      jr      nz,#1f60        ; (9)
1f57  21879e    ld      hl,#9e87
1f5a  cdc0a2    call    #a2c0
1f5d  cd2ea2    call    #a22e
1f60  dd7ef7    ld      a,(ix-#09)
1f63  fe19      cp      #19
1f65  2009      jr      nz,#1f70        ; (9)
1f67  21829e    ld      hl,#9e82
1f6a  cdc0a2    call    #a2c0
1f6d  cd2ea2    call    #a22e
1f70  3aa5f7    ld      a,(#f7a5)
1f73  d601      sub     #01
1f75  32a5f7    ld      (#f7a5),a
1f78  3aa6f7    ld      a,(#f7a6)
1f7b  de00      sbc     a,#00
1f7d  32a6f7    ld      (#f7a6),a
1f80  c3ec9e    jp      #9eec
1f83  2aa3f6    ld      hl,(#f6a3)
1f86  7e        ld      a,(hl)
1f87  fe1e      cp      #1e
1f89  2010      jr      nz,#1f9b        ; (16)
1f8b  217e9e    ld      hl,#9e7e
1f8e  cdc0a2    call    #a2c0
1f91  2aa3f6    ld      hl,(#f6a3)
1f94  23        inc     hl
1f95  22a3f6    ld      (#f6a3),hl
1f98  c3ec9e    jp      #9eec
1f9b  cd2ea2    call    #a22e
1f9e  3aa5f7    ld      a,(#f7a5)
1fa1  d601      sub     #01
1fa3  32a5f7    ld      (#f7a5),a
1fa6  3aa6f7    ld      a,(#f7a6)
1fa9  de00      sbc     a,#00
1fab  32a6f7    ld      (#f7a6),a
1fae  c3ec9e    jp      #9eec
1fb1  2aa3f6    ld      hl,(#f6a3)
1fb4  7e        ld      a,(hl)
1fb5  fe1e      cp      #1e
1fb7  200f      jr      nz,#1fc8        ; (15)
1fb9  2aa3f6    ld      hl,(#f6a3)
1fbc  23        inc     hl
1fbd  22a3f6    ld      (#f6a3),hl
1fc0  21799e    ld      hl,#9e79
1fc3  cdc0a2    call    #a2c0
1fc6  1803      jr      #1fcb           ; (3)
1fc8  cd2ea2    call    #a22e
1fcb  dd7ef7    ld      a,(ix-#09)
1fce  fe23      cp      #23
1fd0  2008      jr      nz,#1fda        ; (8)
1fd2  21749e    ld      hl,#9e74
1fd5  cdc0a2    call    #a2c0
1fd8  1806      jr      #1fe0           ; (6)
1fda  21719e    ld      hl,#9e71
1fdd  cdc0a2    call    #a2c0
1fe0  cd2ea2    call    #a22e
1fe3  3aa5f7    ld      a,(#f7a5)
1fe6  d601      sub     #01
1fe8  32a5f7    ld      (#f7a5),a
1feb  3aa6f7    ld      a,(#f7a6)
1fee  de00      sbc     a,#00
1ff0  32a6f7    ld      (#f7a6),a
1ff3  c3ec9e    jp      #9eec
1ff6  2aa3f6    ld      hl,(#f6a3)
1ff9  7e        ld      a,(hl)
1ffa  fe1e      cp      #1e
1ffc  200f      jr      nz,#200d        ; (15)
1ffe  2aa3f6    ld      hl,(#f6a3)
2001  23        inc     hl
2002  22a3f6    ld      (#f6a3),hl
2005  216c9e    ld      hl,#9e6c
2008  cdc0a2    call    #a2c0
200b  1803      jr      #2010           ; (3)
200d  cd2ea2    call    #a22e
2010  21699e    ld      hl,#9e69
2013  cdc0a2    call    #a2c0
2016  cd2ea2    call    #a22e
2019  21649e    ld      hl,#9e64
201c  cdc0a2    call    #a2c0
201f  cd2ea2    call    #a22e
2022  3aa5f7    ld      a,(#f7a5)
2025  d601      sub     #01
2027  32a5f7    ld      (#f7a5),a
202a  3aa6f7    ld      a,(#f7a6)
202d  de00      sbc     a,#00
202f  32a6f7    ld      (#f7a6),a
2032  c3ec9e    jp      #9eec
2035  2aa5f7    ld      hl,(#f7a5)
2038  e5        push    hl
2039  23        inc     hl
203a  22a5f7    ld      (#f7a5),hl
203d  2aa3f6    ld      hl,(#f6a3)
2040  3e09      ld      a,#09
2042  be        cp      (hl)
2043  fa4fa0    jp      m,#a04f
2046  2aa3f6    ld      hl,(#f6a3)
2049  7e        ld      a,(hl)
204a  c630      add     a,#30
204c  4f        ld      c,a
204d  1809      jr      #2058           ; (9)
204f  2aa3f6    ld      hl,(#f6a3)
2052  7e        ld      a,(hl)
2053  c641      add     a,#41
2055  c6f6      add     a,#f6
2057  4f        ld      c,a
2058  e1        pop     hl
2059  71        ld      (hl),c
205a  c3ec9e    jp      #9eec
205d  2aa5f7    ld      hl,(#f7a5)
2060  e5        push    hl
2061  23        inc     hl
2062  22a5f7    ld      (#f7a5),hl
2065  2aa3f6    ld      hl,(#f6a3)
2068  3e09      ld      a,#09
206a  be        cp      (hl)
206b  fa77a0    jp      m,#a077
206e  2aa3f6    ld      hl,(#f6a3)
2071  7e        ld      a,(hl)
2072  c630      add     a,#30
2074  4f        ld      c,a
2075  1809      jr      #2080           ; (9)
2077  2aa3f6    ld      hl,(#f6a3)
207a  7e        ld      a,(hl)
207b  c641      add     a,#41
207d  c6f6      add     a,#f6
207f  4f        ld      c,a
2080  e1        pop     hl
2081  71        ld      (hl),c
2082  2aa3f6    ld      hl,(#f6a3)
2085  23        inc     hl
2086  22a3f6    ld      (#f6a3),hl
2089  21609e    ld      hl,#9e60
208c  cdc0a2    call    #a2c0
208f  cd2ea2    call    #a22e
2092  3aa5f7    ld      a,(#f7a5)
2095  d601      sub     #01
2097  32a5f7    ld      (#f7a5),a
209a  3aa6f7    ld      a,(#f7a6)
209d  de00      sbc     a,#00
209f  32a6f7    ld      (#f7a6),a
20a2  c3ec9e    jp      #9eec
20a5  cd2ea2    call    #a22e
20a8  3aa3f6    ld      a,(#f6a3)
20ab  d601      sub     #01
20ad  32a3f6    ld      (#f6a3),a
20b0  3aa4f6    ld      a,(#f6a4)
20b3  de00      sbc     a,#00
20b5  32a4f6    ld      (#f6a4),a
20b8  2aa5f7    ld      hl,(#f7a5)
20bb  e5        push    hl
20bc  23        inc     hl
20bd  22a5f7    ld      (#f7a5),hl
20c0  2aa3f6    ld      hl,(#f6a3)
20c3  e5        push    hl
20c4  23        inc     hl
20c5  22a3f6    ld      (#f6a3),hl
20c8  e1        pop     hl
20c9  7e        ld      a,(hl)
20ca  fe2e      cp      #2e
20cc  2004      jr      nz,#20d2        ; (4)
20ce  0e3e      ld      c,#3e
20d0  1802      jr      #20d4           ; (2)
20d2  0e3d      ld      c,#3d
20d4  e1        pop     hl
20d5  71        ld      (hl),c
20d6  2aa3f6    ld      hl,(#f6a3)
20d9  7e        ld      a,(hl)
20da  fe2f      cp      #2f
20dc  2012      jr      nz,#20f0        ; (18)
20de  2aa5f7    ld      hl,(#f7a5)
20e1  e5        push    hl
20e2  23        inc     hl
20e3  22a5f7    ld      (#f7a5),hl
20e6  e1        pop     hl
20e7  363d      ld      (hl),#3d
20e9  2aa3f6    ld      hl,(#f6a3)
20ec  23        inc     hl
20ed  22a3f6    ld      (#f6a3),hl
20f0  2aa5f7    ld      hl,(#f7a5)
20f3  e5        push    hl
20f4  23        inc     hl
20f5  22a5f7    ld      (#f7a5),hl
20f8  e1        pop     hl
20f9  3620      ld      (hl),#20
20fb  cd2ea2    call    #a22e
20fe  215a9e    ld      hl,#9e5a
2101  cdc0a2    call    #a2c0
2104  2aa5f7    ld      hl,(#f7a5)
2107  e5        push    hl
2108  23        inc     hl
2109  22a5f7    ld      (#f7a5),hl
210c  2aa3f6    ld      hl,(#f6a3)
210f  3e09      ld      a,#09
2111  be        cp      (hl)
2112  fa1ea1    jp      m,#a11e
2115  2aa3f6    ld      hl,(#f6a3)
2118  7e        ld      a,(hl)
2119  c630      add     a,#30
211b  4f        ld      c,a
211c  1809      jr      #2127           ; (9)
211e  2aa3f6    ld      hl,(#f6a3)
2121  7e        ld      a,(hl)
2122  c641      add     a,#41
2124  c6f6      add     a,#f6
2126  4f        ld      c,a
2127  e1        pop     hl
2128  71        ld      (hl),c
2129  c3ec9e    jp      #9eec
212c  2aa5f7    ld      hl,(#f7a5)
212f  e5        push    hl
2130  23        inc     hl
2131  22a5f7    ld      (#f7a5),hl
2134  2aa3f6    ld      hl,(#f6a3)
2137  e5        push    hl
2138  23        inc     hl
2139  22a3f6    ld      (#f6a3),hl
213c  e1        pop     hl
213d  7e        ld      a,(hl)
213e  5f        ld      e,a
213f  87        add     a,a
2140  9f        sbc     a,a
2141  57        ld      d,a
2142  7b        ld      a,e
2143  e67f      and     #7f
2145  5f        ld      e,a
2146  e1        pop     hl
2147  7a        ld      a,d
2148  e6ff      and     #ff
214a  57        ld      d,a
214b  73        ld      (hl),e
214c  7e        ld      a,(hl)
214d  fe74      cp      #74
214f  20db      jr      nz,#212c        ; (-37)
2151  3aa5f7    ld      a,(#f7a5)
2154  d601      sub     #01
2156  32a5f7    ld      (#f7a5),a
2159  3aa6f7    ld      a,(#f7a6)
215c  de00      sbc     a,#00
215e  32a6f7    ld      (#f7a6),a
2161  c3ec9e    jp      #9eec
2164  2aa3f6    ld      hl,(#f6a3)
2167  7e        ld      a,(hl)
2168  fe1c      cp      #1c
216a  caec9e    jp      z,#9eec
216d  21569e    ld      hl,#9e56
2170  cdc0a2    call    #a2c0
2173  cd2ea2    call    #a22e
2176  3aa5f7    ld      a,(#f7a5)
2179  d601      sub     #01
217b  32a5f7    ld      (#f7a5),a
217e  3aa6f7    ld      a,(#f7a6)
2181  de00      sbc     a,#00
2183  32a6f7    ld      (#f7a6),a
2186  c3ec9e    jp      #9eec
2189  2aa3f6    ld      hl,(#f6a3)
218c  4e        ld      c,(hl)
218d  21019e    ld      hl,#9e01
2190  c3edb8    jp      #b8ed
2193  214e9e    ld      hl,#9e4e
2196  cdc0a2    call    #a2c0
2199  c3ec9e    jp      #9eec
219c  c3ec9e    jp      #9eec
219f  21499e    ld      hl,#9e49
21a2  cdc0a2    call    #a2c0
21a5  c3ec9e    jp      #9eec
21a8  21409e    ld      hl,#9e40
21ab  cdc0a2    call    #a2c0
21ae  c3ec9e    jp      #9eec
21b1  2aa5f7    ld      hl,(#f7a5)
21b4  e5        push    hl
21b5  23        inc     hl
21b6  22a5f7    ld      (#f7a5),hl
21b9  2aa3f6    ld      hl,(#f6a3)
21bc  3e09      ld      a,#09
21be  be        cp      (hl)
21bf  facba1    jp      m,#a1cb
21c2  2aa3f6    ld      hl,(#f6a3)
21c5  7e        ld      a,(hl)
21c6  c630      add     a,#30
21c8  4f        ld      c,a
21c9  1809      jr      #21d4           ; (9)
21cb  2aa3f6    ld      hl,(#f6a3)
21ce  7e        ld      a,(hl)
21cf  c641      add     a,#41
21d1  c6f6      add     a,#f6
21d3  4f        ld      c,a
21d4  e1        pop     hl
21d5  71        ld      (hl),c
21d6  c3ec9e    jp      #9eec
21d9  2aa5f7    ld      hl,(#f7a5)
21dc  3600      ld      (hl),#00
21de  01a5f6    ld      bc,#f6a5
21e1  c38bbe    jp      #be8b
21e4  dd7ef9    ld      a,(ix-#07)
21e7  fe26      cp      #26
21e9  20ee      jr      nz,#21d9        ; (-18)
21eb  21349e    ld      hl,#9e34
21ee  cdc0a2    call    #a2c0
21f1  c3ec9e    jp      #9eec
21f4  29        add     hl,hl
21f5  a2        and     d
21f6  25        dec     h
21f7  a2        and     d
21f8  20a2      jr      nz,#219c        ; (-94)
21fa  1b        dec     de
21fb  a2        and     d
21fc  16a2      ld      d,#a2
21fe  11a20c    ld      de,#0ca2
2201  a2        and     d
2202  0a        ld      a,(bc)
2203  a2        and     d
2204  06a2      ld      b,#a2
2206  52        ld      d,d
2207  45        ld      b,l
2208  47        ld      b,a
2209  00        nop     
220a  2a0043    ld      hl,(#4300)
220d  50        ld      d,b
220e  4c        ld      c,h
220f  2000      jr      nz,#2211        ; (0)
2211  44        ld      b,h
2212  45        ld      b,l
2213  43        ld      b,e
2214  2000      jr      nz,#2216        ; (0)
2216  49        ld      c,c
2217  4e        ld      c,(hl)
2218  43        ld      b,e
2219  2000      jr      nz,#221b        ; (0)
221b  53        ld      d,e
221c  48        ld      c,b
221d  52        ld      d,d
221e  2000      jr      nz,#2220        ; (0)
2220  53        ld      d,e
2221  48        ld      c,b
2222  4c        ld      c,h
2223  2000      jr      nz,#2225        ; (0)
2225  4f        ld      c,a
2226  52        ld      d,d
2227  2000      jr      nz,#2229        ; (0)
2229  41        ld      b,c
222a  4e        ld      c,(hl)
222b  44        ld      b,h
222c  2000      jr      nz,#222e        ; (0)
222e  f7        rst     #30
222f  21f9ff    ld      hl,#fff9
2232  39        add     hl,sp
2233  f9        ld      sp,hl
2234  2aa3f6    ld      hl,(#f6a3)
2237  e5        push    hl
2238  23        inc     hl
2239  22a3f6    ld      (#f6a3),hl
223c  e1        pop     hl
223d  7e        ld      a,(hl)
223e  dd77f9    ld      (ix-#07),a
2241  dd7ef9    ld      a,(ix-#07)
2244  fe1c      cp      #1c
2246  2815      jr      z,#225d         ; (21)
2248  dd7ef9    ld      a,(ix-#07)
224b  fe2f      cp      #2f
224d  280e      jr      z,#225d         ; (14)
224f  dd7ef9    ld      a,(ix-#07)
2252  fe2e      cp      #2e
2254  2807      jr      z,#225d         ; (7)
2256  dd7ef9    ld      a,(ix-#07)
2259  fe2c      cp      #2c
225b  2003      jr      nz,#2260        ; (3)
225d  c372be    jp      #be72
2260  dd6ef9    ld      l,(ix-#07)
2263  7d        ld      a,l
2264  e6f0      and     #f0
2266  c2a6a2    jp      nz,#a2a6
2269  2aa5f7    ld      hl,(#f7a5)
226c  e5        push    hl
226d  23        inc     hl
226e  22a5f7    ld      (#f7a5),hl
2271  e1        pop     hl
2272  e5        push    hl
2273  3e09      ld      a,#09
2275  ddbef9    cp      (ix-#07)
2278  fa84a2    jp      m,#a284
227b  dd4ef9    ld      c,(ix-#07)
227e  79        ld      a,c
227f  c630      add     a,#30
2281  4f        ld      c,a
2282  1809      jr      #228d           ; (9)
2284  dd4ef9    ld      c,(ix-#07)
2287  79        ld      a,c
2288  c641      add     a,#41
228a  c6f6      add     a,#f6
228c  4f        ld      c,a
228d  e1        pop     hl
228e  71        ld      (hl),c
228f  2aa3f6    ld      hl,(#f6a3)
2292  7e        ld      a,(hl)
2293  e6f0      and     #f0
2295  ca34a2    jp      z,#a234
2298  2aa5f7    ld      hl,(#f7a5)
229b  e5        push    hl
229c  23        inc     hl
229d  22a5f7    ld      (#f7a5),hl
22a0  e1        pop     hl
22a1  3620      ld      (hl),#20
22a3  c334a2    jp      #a234
22a6  dd6ef9    ld      l,(ix-#07)
22a9  7d        ld      a,l
22aa  87        add     a,a
22ab  6f        ld      l,a
22ac  4f        ld      c,a
22ad  87        add     a,a
22ae  9f        sbc     a,a
22af  47        ld      b,a
22b0  69        ld      l,c
22b1  60        ld      h,b
22b2  0194a1    ld      bc,#a194
22b5  09        add     hl,bc
22b6  7e        ld      a,(hl)
22b7  23        inc     hl
22b8  66        ld      h,(hl)
22b9  6f        ld      l,a
22ba  cdc0a2    call    #a2c0
22bd  c334a2    jp      #a234
22c0  e7        rst     #20
22c1  2aa5f7    ld      hl,(#f7a5)
22c4  dd4e04    ld      c,(ix+#04)
22c7  dd4605    ld      b,(ix+#05)
22ca  dd3404    inc     (ix+#04)
22cd  2003      jr      nz,#22d2        ; (3)
22cf  dd3405    inc     (ix+#05)
22d2  0a        ld      a,(bc)
22d3  77        ld      (hl),a
22d4  7e        ld      a,(hl)
22d5  b7        or      a
22d6  2809      jr      z,#22e1         ; (9)
22d8  2aa5f7    ld      hl,(#f7a5)
22db  23        inc     hl
22dc  22a5f7    ld      (#f7a5),hl
22df  18e0      jr      #22c1           ; (-32)
22e1  c384be    jp      #be84
22e4  53        ld      d,e
22e5  41        ld      b,c
22e6  56        ld      d,(hl)
22e7  45        ld      b,l
22e8  204b      jr      nz,#2335        ; (75)
22ea  45        ld      b,l
22eb  59        ld      e,c
22ec  00        nop     
22ed  e7        rst     #20
22ee  2153f3    ld      hl,#f353
22f1  3a4df3    ld      a,(#f34d)
22f4  96        sub     (hl)
22f5  3a4ef3    ld      a,(#f34e)
22f8  23        inc     hl
22f9  9e        sbc     a,(hl)
22fa  3812      jr      c,#230e         ; (18)
22fc  2e58      ld      l,#58
22fe  cf        rst     #8
22ff  2e5f      ld      l,#5f
2301  d7        rst     #10
2302  21e4a2    ld      hl,#a2e4
2305  ef        rst     #28
2306  cdcaaa    call    #aaca
2309  0e01      ld      c,#01
230b  c384be    jp      #be84
230e  2a55f3    ld      hl,(#f355)
2311  23        inc     hl
2312  e5        push    hl
2313  2a4df3    ld      hl,(#f34d)
2316  e5        push    hl
2317  2a55f3    ld      hl,(#f355)
231a  cdd79a    call    #9ad7
231d  2a55f3    ld      hl,(#f355)
2320  e5        push    hl
2321  23        inc     hl
2322  2255f3    ld      (#f355),hl
2325  e1        pop     hl
2326  dd7e04    ld      a,(ix+#04)
2329  77        ld      (hl),a
232a  2a4df3    ld      hl,(#f34d)
232d  23        inc     hl
232e  224df3    ld      (#f34d),hl
2331  0e00      ld      c,#00
2333  c384be    jp      #be84
2336  ff        rst     #38
2337  ff        rst     #38
2338  ff        rst     #38
2339  ff        rst     #38
233a  ff        rst     #38
233b  ff        rst     #38
233c  ff        rst     #38
233d  ff        rst     #38
233e  ff        rst     #38
233f  ff        rst     #38
2340  ff        rst     #38
2341  ff        rst     #38
2342  ff        rst     #38
2343  ff        rst     #38
2344  ff        rst     #38
2345  ff        rst     #38
2346  00        nop     
2347  ff        rst     #38
2348  ff        rst     #38
2349  ff        rst     #38
234a  010203    ld      bc,#0302
234d  04        inc     b
234e  05        dec     b
234f  06ff      ld      b,#ff
2351  ff        rst     #38
2352  ff        rst     #38
2353  ff        rst     #38
2354  ff        rst     #38
2355  07        rlca    
2356  08        ex      af,af'
2357  09        add     hl,bc
2358  0a        ld      a,(bc)
2359  0b        dec     bc
235a  0c        inc     c
235b  ff        rst     #38
235c  ff        rst     #38
235d  ff        rst     #38
235e  0d        dec     c
235f  0eff      ld      c,#ff
2361  0f        rrca    
2362  1011      djnz    #2375           ; (17)
2364  ff        rst     #38
2365  ff        rst     #38
2366  ff        rst     #38
2367  ff        rst     #38
2368  12        ld      (de),a
2369  13        inc     de
236a  14        inc     d
236b  15        dec     d
236c  1617      ld      d,#17
236e  ff        rst     #38
236f  19        add     hl,de
2370  ff        rst     #38
2371  ff        rst     #38
2372  1a        ld      a,(de)
2373  ff        rst     #38
2374  1b        dec     de
2375  1c        inc     e
2376  ff        rst     #38
2377  ff        rst     #38
2378  ff        rst     #38
2379  ff        rst     #38
237a  18e7      jr      #2363           ; (-25)
237c  dd6e04    ld      l,(ix+#04)
237f  7d        ld      a,l
2380  e680      and     #80
2382  6f        ld      l,a
2383  2805      jr      z,#238a         ; (5)
2385  0eff      ld      c,#ff
2387  c384be    jp      #be84
238a  dd7e04    ld      a,(ix+#04)
238d  fe53      cp      #53
238f  2005      jr      nz,#2396        ; (5)
2391  0e1d      ld      c,#1d
2393  c384be    jp      #be84
2396  dd7e04    ld      a,(ix+#04)
2399  fe50      cp      #50
239b  2005      jr      nz,#23a2        ; (5)
239d  0e1e      ld      c,#1e
239f  c384be    jp      #be84
23a2  dd7e04    ld      a,(ix+#04)
23a5  b7        or      a
23a6  fab9a3    jp      m,#a3b9
23a9  dd7e04    ld      a,(ix+#04)
23ac  5f        ld      e,a
23ad  87        add     a,a
23ae  9f        sbc     a,a
23af  57        ld      d,a
23b0  7b        ld      a,e
23b1  d645      sub     #45
23b3  7a        ld      a,d
23b4  de00      sbc     a,#00
23b6  fabea3    jp      m,#a3be
23b9  0eff      ld      c,#ff
23bb  c384be    jp      #be84
23be  2136a3    ld      hl,#a336
23c1  dd7e04    ld      a,(ix+#04)
23c4  5f        ld      e,a
23c5  87        add     a,a
23c6  9f        sbc     a,a
23c7  57        ld      d,a
23c8  19        add     hl,de
23c9  4e        ld      c,(hl)
23ca  c384be    jp      #be84
23cd  e7        rst     #20
23ce  21f9ff    ld      hl,#fff9
23d1  39        add     hl,sp
23d2  f9        ld      sp,hl
23d3  2e76      ld      l,#76
23d5  d7        rst     #10
23d6  213d04    ld      hl,#043d
23d9  e5        push    hl
23da  214104    ld      hl,#0441
23dd  e5        push    hl
23de  dd6e04    ld      l,(ix+#04)
23e1  7d        ld      a,l
23e2  f608      or      #08
23e4  6f        ld      l,a
23e5  e5        push    hl
23e6  2e10      ld      l,#10
23e8  e5        push    hl
23e9  2139f1    ld      hl,#f139
23ec  cd4c78    call    #784c
23ef  dd71f9    ld      (ix-#07),c
23f2  dd7ef9    ld      a,(ix-#07)
23f5  b7        or      a
23f6  2005      jr      nz,#23fd        ; (5)
23f8  0e00      ld      c,#00
23fa  c384be    jp      #be84
23fd  dd7ef9    ld      a,(ix-#07)
2400  fe02      cp      #02
2402  2011      jr      nz,#2415        ; (17)
2404  2e59      ld      l,#59
2406  cf        rst     #8
2407  2e5a      ld      l,#5a
2409  cf        rst     #8
240a  2e5a      ld      l,#5a
240c  cf        rst     #8
240d  2e1c      ld      l,#1c
240f  d7        rst     #10
2410  0e02      ld      c,#02
2412  c384be    jp      #be84
2415  2e77      ld      l,#77
2417  d7        rst     #10
2418  213d04    ld      hl,#043d
241b  e5        push    hl
241c  2139f1    ld      hl,#f139
241f  e5        push    hl
2420  dd6e04    ld      l,(ix+#04)
2423  7d        ld      a,l
2424  f608      or      #08
2426  6f        ld      l,a
2427  e5        push    hl
2428  2e10      ld      l,#10
242a  e5        push    hl
242b  2121f1    ld      hl,#f121
242e  cd4c78    call    #784c
2431  dd71f9    ld      (ix-#07),c
2434  dd7ef9    ld      a,(ix-#07)
2437  b7        or      a
2438  2005      jr      nz,#243f        ; (5)
243a  0e00      ld      c,#00
243c  c384be    jp      #be84
243f  dd7ef9    ld      a,(ix-#07)
2442  fe02      cp      #02
2444  201b      jr      nz,#2461        ; (27)
2446  2e59      ld      l,#59
2448  cf        rst     #8
2449  2e5a      ld      l,#5a
244b  cf        rst     #8
244c  2e5a      ld      l,#5a
244e  cf        rst     #8
244f  2e1c      ld      l,#1c
2451  d7        rst     #10
2452  2121f1    ld      hl,#f121
2455  e5        push    hl
2456  2139f1    ld      hl,#f139
2459  e5        push    hl
245a  df        rst     #18
245b  f1        pop     af
245c  0e01      ld      c,#01
245e  c384be    jp      #be84
2461  0e01      ld      c,#01
2463  c384be    jp      #be84
2466  f7        rst     #30
2467  2139f1    ld      hl,#f139
246a  e5        push    hl
246b  1135f9    ld      de,#f935
246e  ff        rst     #38
246f  2135f9    ld      hl,#f935
2472  e5        push    hl
2473  3ab6f0    ld      a,(#f0b6)
2476  323ff9    ld      (#f93f),a
2479  87        add     a,a
247a  9f        sbc     a,a
247b  3240f9    ld      (#f940),a
247e  323ef9    ld      (#f93e),a
2481  323df9    ld      (#f93d),a
2484  213df9    ld      hl,#f93d
2487  e5        push    hl
2488  cd91bb    call    #bb91
248b  3ab6f0    ld      a,(#f0b6)
248e  323ff9    ld      (#f93f),a
2491  87        add     a,a
2492  9f        sbc     a,a
2493  3240f9    ld      (#f940),a
2496  323ef9    ld      (#f93e),a
2499  323df9    ld      (#f93d),a
249c  213df9    ld      hl,#f93d
249f  e5        push    hl
24a0  cd3ebd    call    #bd3e
24a3  df        rst     #18
24a4  f1        pop     af
24a5  2121f1    ld      hl,#f121
24a8  e5        push    hl
24a9  1135f9    ld      de,#f935
24ac  ff        rst     #38
24ad  2135f9    ld      hl,#f935
24b0  e5        push    hl
24b1  3ab6f0    ld      a,(#f0b6)
24b4  323ff9    ld      (#f93f),a
24b7  87        add     a,a
24b8  9f        sbc     a,a
24b9  3240f9    ld      (#f940),a
24bc  323ef9    ld      (#f93e),a
24bf  323df9    ld      (#f93d),a
24c2  213df9    ld      hl,#f93d
24c5  e5        push    hl
24c6  cd91bb    call    #bb91
24c9  3ab6f0    ld      a,(#f0b6)
24cc  323ff9    ld      (#f93f),a
24cf  87        add     a,a
24d0  9f        sbc     a,a
24d1  3240f9    ld      (#f940),a
24d4  323ef9    ld      (#f93e),a
24d7  323df9    ld      (#f93d),a
24da  213df9    ld      hl,#f93d
24dd  e5        push    hl
24de  cd3ebd    call    #bd3e
24e1  df        rst     #18
24e2  c372be    jp      #be72
24e5  e7        rst     #20
24e6  f5        push    af
24e7  f5        push    af
24e8  f5        push    af
24e9  f5        push    af
24ea  2e5b      ld      l,#5b
24ec  cf        rst     #8
24ed  dd36f801  ld      (ix-#08),#01
24f1  213bf3    ld      hl,#f33b
24f4  e5        push    hl
24f5  214104    ld      hl,#0441
24f8  e5        push    hl
24f9  df        rst     #18
24fa  f1        pop     af
24fb  2e60      ld      l,#60
24fd  d7        rst     #10
24fe  dd7e06    ld      a,(ix+#06)
2501  fe10      cp      #10
2503  2004      jr      nz,#2509        ; (4)
2505  0e03      ld      c,#03
2507  1802      jr      #250b           ; (2)
2509  0e04      ld      c,#04
250b  dd71f9    ld      (ix-#07),c
250e  dd4ef9    ld      c,(ix-#07)
2511  97        sub     a
2512  47        ld      b,a
2513  69        ld      l,c
2514  60        ld      h,b
2515  7d        ld      a,l
2516  f680      or      #80
2518  6f        ld      l,a
2519  cd9573    call    #7395
251c  79        ld      a,c
251d  fe01      cp      #01
251f  200b      jr      nz,#252c        ; (11)
2521  cde6b8    call    #b8e6
2524  2e5c      ld      l,#5c
2526  cf        rst     #8
2527  0e02      ld      c,#02
2529  c38bbe    jp      #be8b
252c  3a27f1    ld      a,(#f127)
252f  fe1c      cp      #1c
2531  2018      jr      nz,#254b        ; (24)
2533  2e5c      ld      l,#5c
2535  cf        rst     #8
2536  dd7ef8    ld      a,(ix-#08)
2539  b7        or      a
253a  2022      jr      nz,#255e        ; (34)
253c  dd6e04    ld      l,(ix+#04)
253f  dd6605    ld      h,(ix+#05)
2542  e5        push    hl
2543  213bf3    ld      hl,#f33b
2546  e5        push    hl
2547  df        rst     #18
2548  f1        pop     af
2549  1823      jr      #256e           ; (35)
254b  3a27f1    ld      a,(#f127)
254e  fe1d      cp      #1d
2550  2021      jr      nz,#2573        ; (33)
2552  dd7ef8    ld      a,(ix-#08)
2555  b7        or      a
2556  2828      jr      z,#2580         ; (40)
2558  cd6f73    call    #736f
255b  c30ea5    jp      #a50e
255e  2e01      ld      l,#01
2560  e5        push    hl
2561  dd6e06    ld      l,(ix+#06)
2564  e5        push    hl
2565  dd6e04    ld      l,(ix+#04)
2568  dd6605    ld      h,(ix+#05)
256b  cdc57f    call    #7fc5
256e  0e00      ld      c,#00
2570  c38bbe    jp      #be8b
2573  3a3cf3    ld      a,(#f33c)
2576  e6f0      and     #f0
2578  281a      jr      z,#2594         ; (26)
257a  cd6f73    call    #736f
257d  c30ea5    jp      #a50e
2580  2e59      ld      l,#59
2582  cf        rst     #8
2583  213bf3    ld      hl,#f33b
2586  e5        push    hl
2587  214104    ld      hl,#0441
258a  e5        push    hl
258b  df        rst     #18
258c  f1        pop     af
258d  dd36f801  ld      (ix-#08),#01
2591  c30ea5    jp      #a50e
2594  3a27f1    ld      a,(#f127)
2597  6f        ld      l,a
2598  d7        rst     #10
2599  213bf3    ld      hl,#f33b
259c  e5        push    hl
259d  dde5      push    ix
259f  c1        pop     bc
25a0  210600    ld      hl,#0006
25a3  09        add     hl,bc
25a4  4d        ld      c,l
25a5  44        ld      b,h
25a6  97        sub     a
25a7  3235f9    ld      (#f935),a
25aa  3236f9    ld      (#f936),a
25ad  0a        ld      a,(bc)
25ae  3237f9    ld      (#f937),a
25b1  97        sub     a
25b2  3238f9    ld      (#f938),a
25b5  2135f9    ld      hl,#f935
25b8  e5        push    hl
25b9  213bf3    ld      hl,#f33b
25bc  e5        push    hl
25bd  cd3ebd    call    #bd3e
25c0  3a27f1    ld      a,(#f127)
25c3  323ff9    ld      (#f93f),a
25c6  87        add     a,a
25c7  9f        sbc     a,a
25c8  3240f9    ld      (#f940),a
25cb  323ef9    ld      (#f93e),a
25ce  323df9    ld      (#f93d),a
25d1  213df9    ld      hl,#f93d
25d4  e5        push    hl
25d5  cd62ba    call    #ba62
25d8  df        rst     #18
25d9  f1        pop     af
25da  dd36f800  ld      (ix-#08),#00
25de  c30ea5    jp      #a50e
25e1  f7        rst     #30
25e2  f5        push    af
25e3  f5        push    af
25e4  f5        push    af
25e5  f5        push    af
25e6  97        sub     a
25e7  32b9f0    ld      (#f0b9),a
25ea  3abaf0    ld      a,(#f0ba)
25ed  b7        or      a
25ee  2807      jr      z,#25f7         ; (7)
25f0  3abaf0    ld      a,(#f0ba)
25f3  6f        ld      l,a
25f4  cd61a6    call    #a661
25f7  3abdf0    ld      a,(#f0bd)
25fa  b7        or      a
25fb  2807      jr      z,#2604         ; (7)
25fd  3abdf0    ld      a,(#f0bd)
2600  6f        ld      l,a
2601  cd61a6    call    #a661
2604  3abcf0    ld      a,(#f0bc)
2607  b7        or      a
2608  2807      jr      z,#2611         ; (7)
260a  3abcf0    ld      a,(#f0bc)
260d  6f        ld      l,a
260e  cd61a6    call    #a661
2611  2e81      ld      l,#81
2613  cd5cba    call    #ba5c
2616  dd36f900  ld      (ix-#07),#00
261a  21bbf0    ld      hl,#f0bb
261d  dd7ef9    ld      a,(ix-#07)
2620  be        cp      (hl)
2621  3010      jr      nc,#2633        ; (16)
2623  dd36f800  ld      (ix-#08),#00
2627  dd7ef8    ld      a,(ix-#08)
262a  feff      cp      #ff
262c  300c      jr      nc,#263a        ; (12)
262e  dd34f8    inc     (ix-#08)
2631  18f4      jr      #2627           ; (-12)
2633  97        sub     a
2634  32b9f0    ld      (#f0b9),a
2637  c372be    jp      #be72
263a  dd34f9    inc     (ix-#07)
263d  18db      jr      #261a           ; (-37)
263f  e7        rst     #20
2640  dd6e04    ld      l,(ix+#04)
2643  dd6605    ld      h,(ix+#05)
2646  7e        ld      a,(hl)
2647  b7        or      a
2648  2814      jr      z,#265e         ; (20)
264a  dd6e04    ld      l,(ix+#04)
264d  dd6605    ld      h,(ix+#05)
2650  dd3404    inc     (ix+#04)
2653  2003      jr      nz,#2658        ; (3)
2655  dd3405    inc     (ix+#05)
2658  6e        ld      l,(hl)
2659  cd61a6    call    #a661
265c  18e2      jr      #2640           ; (-30)
265e  c384be    jp      #be84
2661  e7        rst     #20
2662  2137f1    ld      hl,#f137
2665  3ab9f0    ld      a,(#f0b9)
2668  be        cp      (hl)
2669  3803      jr      c,#266e         ; (3)
266b  cde1a5    call    #a5e1
266e  3ab9f0    ld      a,(#f0b9)
2671  c601      add     a,#01
2673  32b9f0    ld      (#f0b9),a
2676  2ee2      ld      l,#e2
2678  cd5cba    call    #ba5c
267b  cb61      bit     4,c
267d  28f7      jr      z,#2676         ; (-9)
267f  dd6e04    ld      l,(ix+#04)
2682  e5        push    hl
2683  2ee3      ld      l,#e3
2685  cd62be    call    #be62
2688  2e81      ld      l,#81
268a  cd5cba    call    #ba5c
268d  c384be    jp      #be84
2690  f7        rst     #30
2691  21f9ff    ld      hl,#fff9
2694  39        add     hl,sp
2695  f9        ld      sp,hl
2696  2ee2      ld      l,#e2
2698  cd5cba    call    #ba5c
269b  cb59      bit     3,c
269d  2028      jr      nz,#26c7        ; (40)
269f  3a34f1    ld      a,(#f134)
26a2  dd77f9    ld      (ix-#07),a
26a5  3a34f1    ld      a,(#f134)
26a8  e6f7      and     #f7
26aa  3234f1    ld      (#f134),a
26ad  2e17      ld      l,#17
26af  cd9573    call    #7395
26b2  dd6ef9    ld      l,(ix-#07)
26b5  cd1fb1    call    #b11f
26b8  3a27f1    ld      a,(#f127)
26bb  fe45      cp      #45
26bd  2010      jr      nz,#26cf        ; (16)
26bf  cde6b8    call    #b8e6
26c2  0e00      ld      c,#00
26c4  c372be    jp      #be72
26c7  2ee1      ld      l,#e1
26c9  cd5cba    call    #ba5c
26cc  c372be    jp      #be72
26cf  3a59f3    ld      a,(#f359)
26d2  d601      sub     #01
26d4  3259f3    ld      (#f359),a
26d7  3a5af3    ld      a,(#f35a)
26da  de00      sbc     a,#00
26dc  325af3    ld      (#f35a),a
26df  18b5      jr      #2696           ; (-75)
26e1  00        nop     
26e2  00        nop     
26e3  00        nop     
26e4  00        nop     
26e5  00        nop     
26e6  00        nop     
26e7  010000    ld      bc,#0000
26ea  00        nop     
26eb  0a        ld      a,(bc)
26ec  00        nop     
26ed  00        nop     
26ee  00        nop     
26ef  0f        rrca    
26f0  00        nop     
26f1  e7        rst     #20
26f2  21f9ff    ld      hl,#fff9
26f5  39        add     hl,sp
26f6  f9        ld      sp,hl
26f7  21c7f7    ld      hl,#f7c7
26fa  e5        push    hl
26fb  dd6e04    ld      l,(ix+#04)
26fe  dd6605    ld      h,(ix+#05)
2701  e5        push    hl
2702  df        rst     #18
2703  f1        pop     af
2704  dd7e06    ld      a,(ix+#06)
2707  fe10      cp      #10
2709  c24ca7    jp      nz,#a74c
270c  dd36f907  ld      (ix-#07),#07
2710  dd7ef9    ld      a,(ix-#07)
2713  b7        or      a
2714  fa94a7    jp      m,#a794
2717  21a7f7    ld      hl,#f7a7
271a  dd7ef9    ld      a,(ix-#07)
271d  5f        ld      e,a
271e  87        add     a,a
271f  9f        sbc     a,a
2720  57        ld      d,a
2721  19        add     hl,de
2722  e5        push    hl
2723  21c7f7    ld      hl,#f7c7
2726  1135f9    ld      de,#f935
2729  ff        rst     #38
272a  2135f9    ld      hl,#f935
272d  e5        push    hl
272e  21eda6    ld      hl,#a6ed
2731  e5        push    hl
2732  cd8dba    call    #ba8d
2735  e1        pop     hl
2736  c1        pop     bc
2737  23        inc     hl
2738  23        inc     hl
2739  7e        ld      a,(hl)
273a  02        ld      (bc),a
273b  21c7f7    ld      hl,#f7c7
273e  e5        push    hl
273f  210400    ld      hl,#0004
2742  e5        push    hl
2743  cd0fbd    call    #bd0f
2746  f1        pop     af
2747  dd35f9    dec     (ix-#07)
274a  18c4      jr      #2710           ; (-60)
274c  dd7e06    ld      a,(ix+#06)
274f  fe02      cp      #02
2751  c29aa7    jp      nz,#a79a
2754  dd36f91f  ld      (ix-#07),#1f
2758  dd7ef9    ld      a,(ix-#07)
275b  b7        or      a
275c  fa94a7    jp      m,#a794
275f  21a7f7    ld      hl,#f7a7
2762  dd7ef9    ld      a,(ix-#07)
2765  5f        ld      e,a
2766  87        add     a,a
2767  9f        sbc     a,a
2768  57        ld      d,a
2769  19        add     hl,de
276a  e5        push    hl
276b  21c7f7    ld      hl,#f7c7
276e  1135f9    ld      de,#f935
2771  ff        rst     #38
2772  2135f9    ld      hl,#f935
2775  e5        push    hl
2776  21e5a6    ld      hl,#a6e5
2779  e5        push    hl
277a  cd8dba    call    #ba8d
277d  e1        pop     hl
277e  c1        pop     bc
277f  23        inc     hl
2780  23        inc     hl
2781  7e        ld      a,(hl)
2782  02        ld      (bc),a
2783  21c7f7    ld      hl,#f7c7
2786  e5        push    hl
2787  210100    ld      hl,#0001
278a  e5        push    hl
278b  cd0fbd    call    #bd0f
278e  f1        pop     af
278f  dd35f9    dec     (ix-#07)
2792  18c4      jr      #2758           ; (-60)
2794  01a7f7    ld      bc,#f7a7
2797  c38bbe    jp      #be8b
279a  21cbf7    ld      hl,#f7cb
279d  e5        push    hl
279e  21c7f7    ld      hl,#f7c7
27a1  e5        push    hl
27a2  df        rst     #18
27a3  f1        pop     af
27a4  dd36f909  ld      (ix-#07),#09
27a8  dd7ef9    ld      a,(ix-#07)
27ab  b7        or      a
27ac  fa0ba8    jp      m,#a80b
27af  21cbf7    ld      hl,#f7cb
27b2  e5        push    hl
27b3  21e1a6    ld      hl,#a6e1
27b6  e5        push    hl
27b7  cdd9ba    call    #bad9
27ba  ca0ba8    jp      z,#a80b
27bd  21cbf7    ld      hl,#f7cb
27c0  e5        push    hl
27c1  21e9a6    ld      hl,#a6e9
27c4  e5        push    hl
27c5  cd91bb    call    #bb91
27c8  f1        pop     af
27c9  21a7f7    ld      hl,#f7a7
27cc  dd7ef9    ld      a,(ix-#07)
27cf  5f        ld      e,a
27d0  87        add     a,a
27d1  9f        sbc     a,a
27d2  57        ld      d,a
27d3  19        add     hl,de
27d4  e5        push    hl
27d5  21c7f7    ld      hl,#f7c7
27d8  1135f9    ld      de,#f935
27db  ff        rst     #38
27dc  2135f9    ld      hl,#f935
27df  e5        push    hl
27e0  21e9a6    ld      hl,#a6e9
27e3  113df9    ld      de,#f93d
27e6  ff        rst     #38
27e7  213df9    ld      hl,#f93d
27ea  e5        push    hl
27eb  21cbf7    ld      hl,#f7cb
27ee  e5        push    hl
27ef  cd3ebd    call    #bd3e
27f2  cdf7bd    call    #bdf7
27f5  e1        pop     hl
27f6  c1        pop     bc
27f7  23        inc     hl
27f8  23        inc     hl
27f9  7e        ld      a,(hl)
27fa  02        ld      (bc),a
27fb  21c7f7    ld      hl,#f7c7
27fe  e5        push    hl
27ff  21cbf7    ld      hl,#f7cb
2802  e5        push    hl
2803  df        rst     #18
2804  f1        pop     af
2805  dd35f9    dec     (ix-#07)
2808  c3a8a7    jp      #a7a8
280b  dd7ef9    ld      a,(ix-#07)
280e  b7        or      a
280f  fa94a7    jp      m,#a794
2812  dd6ef9    ld      l,(ix-#07)
2815  e5        push    hl
2816  dd35f9    dec     (ix-#07)
2819  e1        pop     hl
281a  7d        ld      a,l
281b  4f        ld      c,a
281c  87        add     a,a
281d  9f        sbc     a,a
281e  47        ld      b,a
281f  69        ld      l,c
2820  60        ld      h,b
2821  01a7f7    ld      bc,#f7a7
2824  09        add     hl,bc
2825  3600      ld      (hl),#00
2827  18e2      jr      #280b           ; (-30)
2829  204f      jr      nz,#287a        ; (79)
282b  46        ld      b,(hl)
282c  2050      jr      nz,#287e        ; (80)
282e  52        ld      d,d
282f  4f        ld      c,a
2830  47        ld      b,a
2831  52        ld      d,d
2832  41        ld      b,c
2833  4d        ld      c,l
2834  2000      jr      nz,#2836        ; (0)
2836  45        ld      b,l
2837  4e        ld      c,(hl)
2838  44        ld      b,h
2839  00        nop     
283a  53        ld      d,e
283b  54        ld      d,h
283c  41        ld      b,c
283d  52        ld      d,d
283e  54        ld      d,h
283f  00        nop     
2840  e7        rst     #20
2841  2e58      ld      l,#58
2843  cf        rst     #8
2844  dd7e04    ld      a,(ix+#04)
2847  fe53      cp      #53
2849  2005      jr      nz,#2850        ; (5)
284b  013aa8    ld      bc,#a83a
284e  1803      jr      #2853           ; (3)
2850  0136a8    ld      bc,#a836
2853  69        ld      l,c
2854  60        ld      h,b
2855  ef        rst     #28
2856  2129a8    ld      hl,#a829
2859  ef        rst     #28
285a  3a29f4    ld      a,(#f429)
285d  32c7f0    ld      (#f0c7),a
2860  2e01      ld      l,#01
2862  e5        push    hl
2863  2e0a      ld      l,#0a
2865  e5        push    hl
2866  21c5f0    ld      hl,#f0c5
2869  cdc57f    call    #7fc5
286c  c384be    jp      #be84
286f  f7        rst     #30
2870  21c8ff    ld      hl,#ffc8
2873  39        add     hl,sp
2874  f9        ld      sp,hl
2875  2e01      ld      l,#01
2877  cd36b1    call    #b136
287a  2e10      ld      l,#10
287c  cd1fb1    call    #b11f
287f  dd36f801  ld      (ix-#08),#01
2883  2e16      ld      l,#16
2885  cd9573    call    #7395
2888  79        ld      a,c
2889  fe01      cp      #01
288b  200b      jr      nz,#2898        ; (11)
288d  cde6b8    call    #b8e6
2890  2e10      ld      l,#10
2892  cd36b1    call    #b136
2895  c372be    jp      #be72
2898  3a27f1    ld      a,(#f127)
289b  fe1b      cp      #1b
289d  200c      jr      nz,#28ab        ; (12)
289f  dd7ef8    ld      a,(ix-#08)
28a2  fe02      cp      #02
28a4  2012      jr      nz,#28b8        ; (18)
28a6  cd6f73    call    #736f
28a9  18d8      jr      #2883           ; (-40)
28ab  dd7ef8    ld      a,(ix-#08)
28ae  fe01      cp      #01
28b0  c208a9    jp      nz,#a908
28b3  cd6f73    call    #736f
28b6  18cb      jr      #2883           ; (-53)
28b8  dd36f802  ld      (ix-#08),#02
28bc  2e10      ld      l,#10
28be  cd36b1    call    #b136
28c1  dde5      push    ix
28c3  c1        pop     bc
28c4  21c8ff    ld      hl,#ffc8
28c7  09        add     hl,bc
28c8  cdba81    call    #81ba
28cb  2e71      ld      l,#71
28cd  cf        rst     #8
28ce  2e58      ld      l,#58
28d0  cf        rst     #8
28d1  dd36f900  ld      (ix-#07),#00
28d5  214bf3    ld      hl,#f34b
28d8  dd7ef9    ld      a,(ix-#07)
28db  be        cp      (hl)
28dc  3021      jr      nc,#28ff        ; (33)
28de  2117f1    ld      hl,#f117
28e1  dd5ef9    ld      e,(ix-#07)
28e4  97        sub     a
28e5  57        ld      d,a
28e6  19        add     hl,de
28e7  7e        ld      a,(hl)
28e8  32c7f0    ld      (#f0c7),a
28eb  2e02      ld      l,#02
28ed  e5        push    hl
28ee  2e0a      ld      l,#0a
28f0  e5        push    hl
28f1  21c5f0    ld      hl,#f0c5
28f4  cdc57f    call    #7fc5
28f7  2e63      ld      l,#63
28f9  d7        rst     #10
28fa  dd34f9    inc     (ix-#07)
28fd  18d6      jr      #28d5           ; (-42)
28ff  2e5a      ld      l,#5a
2901  cf        rst     #8
2902  2e72      ld      l,#72
2904  cf        rst     #8
2905  c383a8    jp      #a883
2908  dd36f801  ld      (ix-#08),#01
290c  2e10      ld      l,#10
290e  cd1fb1    call    #b11f
2911  dde5      push    ix
2913  c1        pop     bc
2914  21c8ff    ld      hl,#ffc8
2917  09        add     hl,bc
2918  cd2386    call    #8623
291b  c383a8    jp      #a883
291e  50        ld      d,b
291f  52        ld      d,d
2920  4f        ld      c,a
2921  47        ld      b,a
2922  52        ld      d,d
2923  41        ld      b,c
2924  4d        ld      c,l
2925  53        ld      d,e
2926  00        nop     
2927  f7        rst     #30
2928  2193ff    ld      hl,#ff93
292b  39        add     hl,sp
292c  f9        ld      sp,hl
292d  dd36f900  ld      (ix-#07),#00
2931  dd36f700  ld      (ix-#09),#00
2935  dd7ef9    ld      a,(ix-#07)
2938  fe64      cp      #64
293a  302f      jr      nc,#296b        ; (47)
293c  dd4ef9    ld      c,(ix-#07)
293f  97        sub     a
2940  47        ld      b,a
2941  69        ld      l,c
2942  60        ld      h,b
2943  29        add     hl,hl
2944  015ff3    ld      bc,#f35f
2947  09        add     hl,bc
2948  7e        ld      a,(hl)
2949  23        inc     hl
294a  b6        or      (hl)
294b  282d      jr      z,#297a         ; (45)
294d  dd6ef7    ld      l,(ix-#09)
2950  e5        push    hl
2951  dd34f7    inc     (ix-#09)
2954  e1        pop     hl
2955  4d        ld      c,l
2956  97        sub     a
2957  47        ld      b,a
2958  69        ld      l,c
2959  60        ld      h,b
295a  e5        push    hl
295b  dde5      push    ix
295d  c1        pop     bc
295e  2193ff    ld      hl,#ff93
2961  09        add     hl,bc
2962  e3        ex      (sp),hl
2963  c1        pop     bc
2964  09        add     hl,bc
2965  dd7ef9    ld      a,(ix-#07)
2968  77        ld      (hl),a
2969  180f      jr      #297a           ; (15)
296b  dd7ef7    ld      a,(ix-#09)
296e  b7        or      a
296f  200f      jr      nz,#2980        ; (15)
2971  2e58      ld      l,#58
2973  cf        rst     #8
2974  2e7a      ld      l,#7a
2976  d7        rst     #10
2977  c372be    jp      #be72
297a  dd34f9    inc     (ix-#07)
297d  c335a9    jp      #a935
2980  dd36f800  ld      (ix-#08),#00
2984  2e71      ld      l,#71
2986  cf        rst     #8
2987  2e58      ld      l,#58
2989  cf        rst     #8
298a  211ea9    ld      hl,#a91e
298d  ef        rst     #28
298e  dd7ef8    ld      a,(ix-#08)
2991  dd77f9    ld      (ix-#07),a
2994  dd6ef8    ld      l,(ix-#08)
2997  7d        ld      a,l
2998  c608      add     a,#08
299a  6f        ld      l,a
299b  dd7ef9    ld      a,(ix-#07)
299e  bd        cp      l
299f  302d      jr      nc,#29ce        ; (45)
29a1  dd7ef9    ld      a,(ix-#07)
29a4  ddbef7    cp      (ix-#09)
29a7  3025      jr      nc,#29ce        ; (37)
29a9  2e63      ld      l,#63
29ab  d7        rst     #10
29ac  dde5      push    ix
29ae  c1        pop     bc
29af  2193ff    ld      hl,#ff93
29b2  09        add     hl,bc
29b3  dd5ef9    ld      e,(ix-#07)
29b6  97        sub     a
29b7  57        ld      d,a
29b8  19        add     hl,de
29b9  7e        ld      a,(hl)
29ba  32c7f0    ld      (#f0c7),a
29bd  2e02      ld      l,#02
29bf  e5        push    hl
29c0  2e0a      ld      l,#0a
29c2  e5        push    hl
29c3  21c5f0    ld      hl,#f0c5
29c6  cdc57f    call    #7fc5
29c9  dd34f9    inc     (ix-#07)
29cc  18c6      jr      #2994           ; (-58)
29ce  2e72      ld      l,#72
29d0  cf        rst     #8
29d1  dd7ef9    ld      a,(ix-#07)
29d4  ddbef7    cp      (ix-#09)
29d7  3007      jr      nc,#29e0        ; (7)
29d9  2e10      ld      l,#10
29db  cd1fb1    call    #b11f
29de  1805      jr      #29e5           ; (5)
29e0  2e10      ld      l,#10
29e2  cd36b1    call    #b136
29e5  2e16      ld      l,#16
29e7  cd9573    call    #7395
29ea  79        ld      a,c
29eb  fe01      cp      #01
29ed  200b      jr      nz,#29fa        ; (11)
29ef  cde6b8    call    #b8e6
29f2  2e10      ld      l,#10
29f4  cd36b1    call    #b136
29f7  c372be    jp      #be72
29fa  3a27f1    ld      a,(#f127)
29fd  fe1b      cp      #1b
29ff  200e      jr      nz,#2a0f        ; (14)
2a01  dd7ef9    ld      a,(ix-#07)
2a04  ddbef7    cp      (ix-#09)
2a07  2012      jr      nz,#2a1b        ; (18)
2a09  cd6f73    call    #736f
2a0c  c384a9    jp      #a984
2a0f  dd7ef8    ld      a,(ix-#08)
2a12  b7        or      a
2a13  2011      jr      nz,#2a26        ; (17)
2a15  cd6f73    call    #736f
2a18  c384a9    jp      #a984
2a1b  dd7ef8    ld      a,(ix-#08)
2a1e  c608      add     a,#08
2a20  dd77f8    ld      (ix-#08),a
2a23  c384a9    jp      #a984
2a26  dd7ef8    ld      a,(ix-#08)
2a29  d608      sub     #08
2a2b  dd77f8    ld      (ix-#08),a
2a2e  c384a9    jp      #a984
2a31  e7        rst     #20
2a32  21f4ff    ld      hl,#fff4
2a35  39        add     hl,sp
2a36  f9        ld      sp,hl
2a37  dd6e06    ld      l,(ix+#06)
2a3a  e5        push    hl
2a3b  dd6e04    ld      l,(ix+#04)
2a3e  dd6605    ld      h,(ix+#05)
2a41  cdf1a6    call    #a6f1
2a44  dd71f6    ld      (ix-#0a),c
2a47  dd70f7    ld      (ix-#09),b
2a4a  dd7e06    ld      a,(ix+#06)
2a4d  fe10      cp      #10
2a4f  2006      jr      nz,#2a57        ; (6)
2a51  dd36f508  ld      (ix-#0b),#08
2a55  1804      jr      #2a5b           ; (4)
2a57  dd36f50a  ld      (ix-#0b),#0a
2a5b  dd6ef5    ld      l,(ix-#0b)
2a5e  7d        ld      a,l
2a5f  dd9608    sub     (ix+#08)
2a62  6f        ld      l,a
2a63  dd75f8    ld      (ix-#08),l
2a66  dd36f900  ld      (ix-#07),#00
2a6a  dd7ef9    ld      a,(ix-#07)
2a6d  ddbef8    cp      (ix-#08)
2a70  3015      jr      nc,#2a87        ; (21)
2a72  dd6ef6    ld      l,(ix-#0a)
2a75  dd66f7    ld      h,(ix-#09)
2a78  dd5ef9    ld      e,(ix-#07)
2a7b  97        sub     a
2a7c  57        ld      d,a
2a7d  19        add     hl,de
2a7e  7e        ld      a,(hl)
2a7f  b7        or      a
2a80  2005      jr      nz,#2a87        ; (5)
2a82  dd34f9    inc     (ix-#07)
2a85  18e3      jr      #2a6a           ; (-29)
2a87  dd7ef9    ld      a,(ix-#07)
2a8a  ddbef5    cp      (ix-#0b)
2a8d  3038      jr      nc,#2ac7        ; (56)
2a8f  dd6ef9    ld      l,(ix-#07)
2a92  e5        push    hl
2a93  dd34f9    inc     (ix-#07)
2a96  e1        pop     hl
2a97  4d        ld      c,l
2a98  97        sub     a
2a99  47        ld      b,a
2a9a  69        ld      l,c
2a9b  60        ld      h,b
2a9c  dd4ef6    ld      c,(ix-#0a)
2a9f  dd46f7    ld      b,(ix-#09)
2aa2  09        add     hl,bc
2aa3  7e        ld      a,(hl)
2aa4  dd77f4    ld      (ix-#0c),a
2aa7  3e09      ld      a,#09
2aa9  ddbef4    cp      (ix-#0c)
2aac  fab8aa    jp      m,#aab8
2aaf  dd4ef4    ld      c,(ix-#0c)
2ab2  79        ld      a,c
2ab3  c630      add     a,#30
2ab5  4f        ld      c,a
2ab6  1809      jr      #2ac1           ; (9)
2ab8  dd4ef4    ld      c,(ix-#0c)
2abb  79        ld      a,c
2abc  c641      add     a,#41
2abe  c6f6      add     a,#f6
2ac0  4f        ld      c,a
2ac1  69        ld      l,c
2ac2  cd61a6    call    #a661
2ac5  18c0      jr      #2a87           ; (-64)
2ac7  c393be    jp      #be93
2aca  f7        rst     #30
2acb  2e11      ld      l,#11
2acd  cd9573    call    #7395
2ad0  3a27f1    ld      a,(#f127)
2ad3  fe1d      cp      #1d
2ad5  2005      jr      nz,#2adc        ; (5)
2ad7  010100    ld      bc,#0001
2ada  1803      jr      #2adf           ; (3)
2adc  010000    ld      bc,#0000
2adf  79        ld      a,c
2ae0  b0        or      b
2ae1  2805      jr      z,#2ae8         ; (5)
2ae3  cd6f73    call    #736f
2ae6  18e3      jr      #2acb           ; (-29)
2ae8  3a27f1    ld      a,(#f127)
2aeb  fe1a      cp      #1a
2aed  2016      jr      nz,#2b05        ; (22)
2aef  2a55f3    ld      hl,(#f355)
2af2  225df3    ld      (#f35d),hl
2af5  7e        ld      a,(hl)
2af6  fe50      cp      #50
2af8  280b      jr      z,#2b05         ; (11)
2afa  2a55f3    ld      hl,(#f355)
2afd  cd0b9c    call    #9c0b
2b00  69        ld      l,c
2b01  60        ld      h,b
2b02  2255f3    ld      (#f355),hl
2b05  cde6b8    call    #b8e6
2b08  c372be    jp      #be72
2b0b  2042      jr      nz,#2b4f        ; (66)
2b0d  59        ld      e,c
2b0e  54        ld      d,h
2b0f  45        ld      b,l
2b10  53        ld      d,e
2b11  204c      jr      nz,#2b5f        ; (76)
2b13  45        ld      b,l
2b14  46        ld      b,(hl)
2b15  54        ld      d,h
2b16  00        nop     
2b17  50        ld      d,b
2b18  52        ld      d,d
2b19  4f        ld      c,a
2b1a  47        ld      b,a
2b1b  2000      jr      nz,#2b1d        ; (0)
2b1d  e7        rst     #20
2b1e  2e71      ld      l,#71
2b20  cf        rst     #8
2b21  2e58      ld      l,#58
2b23  cf        rst     #8
2b24  2117ab    ld      hl,#ab17
2b27  ef        rst     #28
2b28  3a29f4    ld      a,(#f429)
2b2b  32c7f0    ld      (#f0c7),a
2b2e  2e01      ld      l,#01
2b30  e5        push    hl
2b31  2e0a      ld      l,#0a
2b33  e5        push    hl
2b34  21c5f0    ld      hl,#f0c5
2b37  cdc57f    call    #7fc5
2b3a  dd6e04    ld      l,(ix+#04)
2b3d  d7        rst     #10
2b3e  2100e8    ld      hl,#e800
2b41  ed4b4ff3  ld      bc,(#f34f)
2b45  7d        ld      a,l
2b46  91        sub     c
2b47  6f        ld      l,a
2b48  7c        ld      a,h
2b49  98        sbc     a,b
2b4a  67        ld      h,a
2b4b  01d0ff    ld      bc,#ffd0
2b4e  09        add     hl,bc
2b4f  2249f3    ld      (#f349),hl
2b52  3a4af3    ld      a,(#f34a)
2b55  e680      and     #80
2b57  6f        ld      l,a
2b58  2807      jr      z,#2b61         ; (7)
2b5a  97        sub     a
2b5b  3249f3    ld      (#f349),a
2b5e  324af3    ld      (#f34a),a
2b61  97        sub     a
2b62  3247f3    ld      (#f347),a
2b65  3248f3    ld      (#f348),a
2b68  2e01      ld      l,#01
2b6a  e5        push    hl
2b6b  2e0a      ld      l,#0a
2b6d  e5        push    hl
2b6e  2147f3    ld      hl,#f347
2b71  cdc57f    call    #7fc5
2b74  210bab    ld      hl,#ab0b
2b77  ef        rst     #28
2b78  2e72      ld      l,#72
2b7a  cf        rst     #8
2b7b  3e01      ld      a,#01
2b7d  3240f1    ld      (#f140),a
2b80  2e02      ld      l,#02
2b82  cd36b1    call    #b136
2b85  c384be    jp      #be84
2b88  44        ld      b,h
2b89  45        ld      b,l
2b8a  4c        ld      c,h
2b8b  45        ld      b,l
2b8c  54        ld      d,h
2b8d  45        ld      b,l
2b8e  2050      jr      nz,#2be0        ; (80)
2b90  52        ld      d,d
2b91  4f        ld      c,a
2b92  47        ld      b,a
2b93  2000      jr      nz,#2b95        ; (0)
2b95  e7        rst     #20
2b96  21f6ff    ld      hl,#fff6
2b99  39        add     hl,sp
2b9a  f9        ld      sp,hl
2b9b  2e71      ld      l,#71
2b9d  cf        rst     #8
2b9e  2e58      ld      l,#58
2ba0  cf        rst     #8
2ba1  2188ab    ld      hl,#ab88
2ba4  ef        rst     #28
2ba5  3a29f4    ld      a,(#f429)
2ba8  32c7f0    ld      (#f0c7),a
2bab  2e01      ld      l,#01
2bad  e5        push    hl
2bae  2e0a      ld      l,#0a
2bb0  e5        push    hl
2bb1  21c5f0    ld      hl,#f0c5
2bb4  cdc57f    call    #7fc5
2bb7  2e48      ld      l,#48
2bb9  d7        rst     #10
2bba  2e72      ld      l,#72
2bbc  cf        rst     #8
2bbd  2e05      ld      l,#05
2bbf  cd9573    call    #7395
2bc2  3a27f1    ld      a,(#f127)
2bc5  fe1d      cp      #1d
2bc7  2005      jr      nz,#2bce        ; (5)
2bc9  0e00      ld      c,#00
2bcb  c38bbe    jp      #be8b
2bce  3a27f1    ld      a,(#f127)
2bd1  fe1c      cp      #1c
2bd3  c23aac    jp      nz,#ac3a
2bd6  2a2af4    ld      hl,(#f42a)
2bd9  e5        push    hl
2bda  dd6e06    ld      l,(ix+#06)
2bdd  dd6607    ld      h,(ix+#07)
2be0  e5        push    hl
2be1  dd6e04    ld      l,(ix+#04)
2be4  dd6605    ld      h,(ix+#05)
2be7  cdd79a    call    #9ad7
2bea  3a29f4    ld      a,(#f429)
2bed  6f        ld      l,a
2bee  cd319b    call    #9b31
2bf1  212af4    ld      hl,#f42a
2bf4  79        ld      a,c
2bf5  96        sub     (hl)
2bf6  4f        ld      c,a
2bf7  78        ld      a,b
2bf8  23        inc     hl
2bf9  9e        sbc     a,(hl)
2bfa  47        ld      b,a
2bfb  dd71f6    ld      (ix-#0a),c
2bfe  dd70f7    ld      (ix-#09),b
2c01  3a29f4    ld      a,(#f429)
2c04  3c        inc     a
2c05  6f        ld      l,a
2c06  dd75f9    ld      (ix-#07),l
2c09  dd7ef9    ld      a,(ix-#07)
2c0c  fe64      cp      #64
2c0e  3032      jr      nc,#2c42        ; (50)
2c10  dd4ef9    ld      c,(ix-#07)
2c13  97        sub     a
2c14  47        ld      b,a
2c15  69        ld      l,c
2c16  60        ld      h,b
2c17  29        add     hl,hl
2c18  015ff3    ld      bc,#f35f
2c1b  09        add     hl,bc
2c1c  7e        ld      a,(hl)
2c1d  23        inc     hl
2c1e  b6        or      (hl)
2c1f  2852      jr      z,#2c73         ; (82)
2c21  dd4ef9    ld      c,(ix-#07)
2c24  97        sub     a
2c25  47        ld      b,a
2c26  69        ld      l,c
2c27  60        ld      h,b
2c28  29        add     hl,hl
2c29  015ff3    ld      bc,#f35f
2c2c  09        add     hl,bc
2c2d  7e        ld      a,(hl)
2c2e  dd96f6    sub     (ix-#0a)
2c31  77        ld      (hl),a
2c32  23        inc     hl
2c33  7e        ld      a,(hl)
2c34  dd9ef7    sbc     a,(ix-#09)
2c37  77        ld      (hl),a
2c38  1839      jr      #2c73           ; (57)
2c3a  cde6b8    call    #b8e6
2c3d  0e01      ld      c,#01
2c3f  c38bbe    jp      #be8b
2c42  3a4ff3    ld      a,(#f34f)
2c45  dd96f6    sub     (ix-#0a)
2c48  324ff3    ld      (#f34f),a
2c4b  3a50f3    ld      a,(#f350)
2c4e  dd9ef7    sbc     a,(ix-#09)
2c51  3250f3    ld      (#f350),a
2c54  2a4ff3    ld      hl,(#f34f)
2c57  2227f4    ld      (#f427),hl
2c5a  3a29f4    ld      a,(#f429)
2c5d  4f        ld      c,a
2c5e  97        sub     a
2c5f  47        ld      b,a
2c60  69        ld      l,c
2c61  60        ld      h,b
2c62  29        add     hl,hl
2c63  015ff3    ld      bc,#f35f
2c66  09        add     hl,bc
2c67  3600      ld      (hl),#00
2c69  23        inc     hl
2c6a  3600      ld      (hl),#00
2c6c  2e4e      ld      l,#4e
2c6e  cd1dab    call    #ab1d
2c71  18ca      jr      #2c3d           ; (-54)
2c73  dd34f9    inc     (ix-#07)
2c76  c309ac    jp      #ac09
2c79  f7        rst     #30
2c7a  2e17      ld      l,#17
2c7c  cd7c76    call    #767c
2c7f  79        ld      a,c
2c80  b7        or      a
2c81  2821      jr      z,#2ca4         ; (33)
2c83  3a26f1    ld      a,(#f126)
2c86  fe28      cp      #28
2c88  201f      jr      nz,#2ca9        ; (31)
2c8a  2e04      ld      l,#04
2c8c  cd1fb1    call    #b11f
2c8f  2e08      ld      l,#08
2c91  cd36b1    call    #b136
2c94  3e7f      ld      a,#7f
2c96  3226f1    ld      (#f126),a
2c99  2e42      ld      l,#42
2c9b  cd7c76    call    #767c
2c9e  79        ld      a,c
2c9f  b7        or      a
2ca0  2032      jr      nz,#2cd4        ; (50)
2ca2  18f5      jr      #2c99           ; (-11)
2ca4  0e00      ld      c,#00
2ca6  c372be    jp      #be72
2ca9  3ab7f0    ld      a,(#f0b7)
2cac  fe10      cp      #10
2cae  2840      jr      z,#2cf0         ; (64)
2cb0  3ab7f0    ld      a,(#f0b7)
2cb3  4f        ld      c,a
2cb4  97        sub     a
2cb5  47        ld      b,a
2cb6  69        ld      l,c
2cb7  60        ld      h,b
2cb8  29        add     hl,hl
2cb9  29        add     hl,hl
2cba  0160f1    ld      bc,#f160
2cbd  09        add     hl,bc
2cbe  3a26f1    ld      a,(#f126)
2cc1  23        inc     hl
2cc2  23        inc     hl
2cc3  77        ld      (hl),a
2cc4  87        add     a,a
2cc5  9f        sbc     a,a
2cc6  23        inc     hl
2cc7  77        ld      (hl),a
2cc8  2b        dec     hl
2cc9  2b        dec     hl
2cca  77        ld      (hl),a
2ccb  2b        dec     hl
2ccc  77        ld      (hl),a
2ccd  3e10      ld      a,#10
2ccf  32b7f0    ld      (#f0b7),a
2cd2  181f      jr      #2cf3           ; (31)
2cd4  2e04      ld      l,#04
2cd6  cd36b1    call    #b136
2cd9  3a26f1    ld      a,(#f126)
2cdc  fe25      cp      #25
2cde  2813      jr      z,#2cf3         ; (19)
2ce0  3a26f1    ld      a,(#f126)
2ce3  3269e9    ld      (#e969),a
2ce6  3e45      ld      a,#45
2ce8  3226f1    ld      (#f126),a
2ceb  0e02      ld      c,#02
2ced  c372be    jp      #be72
2cf0  cd6f73    call    #736f
2cf3  3e7f      ld      a,#7f
2cf5  3226f1    ld      (#f126),a
2cf8  18aa      jr      #2ca4           ; (-86)
2cfa  e7        rst     #20
2cfb  f5        push    af
2cfc  f5        push    af
2cfd  f5        push    af
2cfe  f5        push    af
2cff  dd36f900  ld      (ix-#07),#00
2d03  dd6e04    ld      l,(ix+#04)
2d06  dd6605    ld      h,(ix+#05)
2d09  e5        push    hl
2d0a  dd6e06    ld      l,(ix+#06)
2d0d  dd6607    ld      h,(ix+#07)
2d10  e5        push    hl
2d11  cdd9ba    call    #bad9
2d14  2020      jr      nz,#2d36        ; (32)
2d16  219cf1    ld      hl,#f19c
2d19  e5        push    hl
2d1a  dd6e04    ld      l,(ix+#04)
2d1d  dd6605    ld      h,(ix+#05)
2d20  e5        push    hl
2d21  df        rst     #18
2d22  f1        pop     af
2d23  2e05      ld      l,#05
2d25  cd1d8b    call    #8b1d
2d28  dd71f8    ld      (ix-#08),c
2d2b  dd7ef8    ld      a,(ix-#08)
2d2e  fe02      cp      #02
2d30  c2a6ad    jp      nz,#ada6
2d33  c3e2ad    jp      #ade2
2d36  cd1aae    call    #ae1a
2d39  21d9f7    ld      hl,#f7d9
2d3c  e5        push    hl
2d3d  dd6e04    ld      l,(ix+#04)
2d40  dd6605    ld      h,(ix+#05)
2d43  1135f9    ld      de,#f935
2d46  ff        rst     #38
2d47  2135f9    ld      hl,#f935
2d4a  e5        push    hl
2d4b  3ab6f0    ld      a,(#f0b6)
2d4e  323ff9    ld      (#f93f),a
2d51  87        add     a,a
2d52  9f        sbc     a,a
2d53  3240f9    ld      (#f940),a
2d56  323ef9    ld      (#f93e),a
2d59  323df9    ld      (#f93d),a
2d5c  213df9    ld      hl,#f93d
2d5f  e5        push    hl
2d60  cdf7bd    call    #bdf7
2d63  df        rst     #18
2d64  f1        pop     af
2d65  21d9f7    ld      hl,#f7d9
2d68  e5        push    hl
2d69  1135f9    ld      de,#f935
2d6c  ff        rst     #38
2d6d  2135f9    ld      hl,#f935
2d70  e5        push    hl
2d71  3ab6f0    ld      a,(#f0b6)
2d74  323ff9    ld      (#f93f),a
2d77  87        add     a,a
2d78  9f        sbc     a,a
2d79  3240f9    ld      (#f940),a
2d7c  323ef9    ld      (#f93e),a
2d7f  323df9    ld      (#f93d),a
2d82  213df9    ld      hl,#f93d
2d85  e5        push    hl
2d86  cd62ba    call    #ba62
2d89  df        rst     #18
2d8a  f1        pop     af
2d8b  219cf1    ld      hl,#f19c
2d8e  e5        push    hl
2d8f  21d9f7    ld      hl,#f7d9
2d92  e5        push    hl
2d93  df        rst     #18
2d94  f1        pop     af
2d95  2e05      ld      l,#05
2d97  cd1d8b    call    #8b1d
2d9a  dd71f8    ld      (ix-#08),c
2d9d  dd7ef8    ld      a,(ix-#08)
2da0  fe02      cp      #02
2da2  2024      jr      nz,#2dc8        ; (36)
2da4  183c      jr      #2de2           ; (60)
2da6  dd7ef9    ld      a,(ix-#07)
2da9  ddb6f8    or      (ix-#08)
2dac  dd77f9    ld      (ix-#07),a
2daf  2a9af1    ld      hl,(#f19a)
2db2  ed4b98f1  ld      bc,(#f198)
2db6  7d        ld      a,l
2db7  a9        xor     c
2db8  6f        ld      l,a
2db9  7c        ld      a,h
2dba  a8        xor     b
2dbb  67        ld      h,a
2dbc  2245f3    ld      (#f345),hl
2dbf  97        sub     a
2dc0  3243f3    ld      (#f343),a
2dc3  3244f3    ld      (#f344),a
2dc6  184c      jr      #2e14           ; (76)
2dc8  dd7ef9    ld      a,(ix-#07)
2dcb  ddb6f8    or      (ix-#08)
2dce  dd77f9    ld      (ix-#07),a
2dd1  3a9ef1    ld      a,(#f19e)
2dd4  b7        or      a
2dd5  2010      jr      nz,#2de7        ; (16)
2dd7  dd6e08    ld      l,(ix+#08)
2dda  cdceb2    call    #b2ce
2ddd  79        ld      a,c
2dde  fe02      cp      #02
2de0  2005      jr      nz,#2de7        ; (5)
2de2  0e02      ld      c,#02
2de4  c393be    jp      #be93
2de7  2198f1    ld      hl,#f198
2dea  cd46ae    call    #ae46
2ded  21d9f7    ld      hl,#f7d9
2df0  e5        push    hl
2df1  dd6e06    ld      l,(ix+#06)
2df4  dd6607    ld      h,(ix+#07)
2df7  e5        push    hl
2df8  cdd9ba    call    #bad9
2dfb  c265ad    jp      nz,#ad65
2dfe  3ad9f0    ld      a,(#f0d9)
2e01  6f        ld      l,a
2e02  cd3daf    call    #af3d
2e05  97        sub     a
2e06  3243f3    ld      (#f343),a
2e09  3244f3    ld      (#f344),a
2e0c  79        ld      a,c
2e0d  3245f3    ld      (#f345),a
2e10  78        ld      a,b
2e11  3246f3    ld      (#f346),a
2e14  dd4ef9    ld      c,(ix-#07)
2e17  c393be    jp      #be93
2e1a  f7        rst     #30
2e1b  214000    ld      hl,#0040
2e1e  e5        push    hl
2e1f  21e8f2    ld      hl,#f2e8
2e22  cdc3b8    call    #b8c3
2e25  21e8f2    ld      hl,#f2e8
2e28  22cff7    ld      (#f7cf),hl
2e2b  2100f3    ld      hl,#f300
2e2e  22d1f7    ld      (#f7d1),hl
2e31  2108f3    ld      hl,#f308
2e34  22d3f7    ld      (#f7d3),hl
2e37  2114f3    ld      hl,#f314
2e3a  22d5f7    ld      (#f7d5),hl
2e3d  2124f3    ld      hl,#f324
2e40  22d7f7    ld      (#f7d7),hl
2e43  c372be    jp      #be72
2e46  e7        rst     #20
2e47  2acff7    ld      hl,(#f7cf)
2e4a  e5        push    hl
2e4b  dd6e04    ld      l,(ix+#04)
2e4e  dd6605    ld      h,(ix+#05)
2e51  1135f9    ld      de,#f935
2e54  ff        rst     #38
2e55  2135f9    ld      hl,#f935
2e58  e5        push    hl
2e59  2ad1f7    ld      hl,(#f7d1)
2e5c  e5        push    hl
2e5d  cd23be    call    #be23
2e60  2ad3f7    ld      hl,(#f7d3)
2e63  e5        push    hl
2e64  cd23be    call    #be23
2e67  2ad5f7    ld      hl,(#f7d5)
2e6a  e5        push    hl
2e6b  cd23be    call    #be23
2e6e  2ad7f7    ld      hl,(#f7d7)
2e71  e5        push    hl
2e72  cd23be    call    #be23
2e75  df        rst     #18
2e76  f1        pop     af
2e77  21e8f2    ld      hl,#f2e8
2e7a  3acff7    ld      a,(#f7cf)
2e7d  bd        cp      l
2e7e  2004      jr      nz,#2e84        ; (4)
2e80  3ad0f7    ld      a,(#f7d0)
2e83  bc        cp      h
2e84  2812      jr      z,#2e98         ; (18)
2e86  3acff7    ld      a,(#f7cf)
2e89  d604      sub     #04
2e8b  32cff7    ld      (#f7cf),a
2e8e  3ad0f7    ld      a,(#f7d0)
2e91  de00      sbc     a,#00
2e93  32d0f7    ld      (#f7d0),a
2e96  1806      jr      #2e9e           ; (6)
2e98  2124f3    ld      hl,#f324
2e9b  22cff7    ld      (#f7cf),hl
2e9e  21e8f2    ld      hl,#f2e8
2ea1  3ad1f7    ld      a,(#f7d1)
2ea4  bd        cp      l
2ea5  2004      jr      nz,#2eab        ; (4)
2ea7  3ad2f7    ld      a,(#f7d2)
2eaa  bc        cp      h
2eab  2812      jr      z,#2ebf         ; (18)
2ead  3ad1f7    ld      a,(#f7d1)
2eb0  d604      sub     #04
2eb2  32d1f7    ld      (#f7d1),a
2eb5  3ad2f7    ld      a,(#f7d2)
2eb8  de00      sbc     a,#00
2eba  32d2f7    ld      (#f7d2),a
2ebd  1806      jr      #2ec5           ; (6)
2ebf  2124f3    ld      hl,#f324
2ec2  22d1f7    ld      (#f7d1),hl
2ec5  21e8f2    ld      hl,#f2e8
2ec8  3ad3f7    ld      a,(#f7d3)
2ecb  bd        cp      l
2ecc  2004      jr      nz,#2ed2        ; (4)
2ece  3ad4f7    ld      a,(#f7d4)
2ed1  bc        cp      h
2ed2  2812      jr      z,#2ee6         ; (18)
2ed4  3ad3f7    ld      a,(#f7d3)
2ed7  d604      sub     #04
2ed9  32d3f7    ld      (#f7d3),a
2edc  3ad4f7    ld      a,(#f7d4)
2edf  de00      sbc     a,#00
2ee1  32d4f7    ld      (#f7d4),a
2ee4  1806      jr      #2eec           ; (6)
2ee6  2124f3    ld      hl,#f324
2ee9  22d3f7    ld      (#f7d3),hl
2eec  21e8f2    ld      hl,#f2e8
2eef  3ad5f7    ld      a,(#f7d5)
2ef2  bd        cp      l
2ef3  2004      jr      nz,#2ef9        ; (4)
2ef5  3ad6f7    ld      a,(#f7d6)
2ef8  bc        cp      h
2ef9  2812      jr      z,#2f0d         ; (18)
2efb  3ad5f7    ld      a,(#f7d5)
2efe  d604      sub     #04
2f00  32d5f7    ld      (#f7d5),a
2f03  3ad6f7    ld      a,(#f7d6)
2f06  de00      sbc     a,#00
2f08  32d6f7    ld      (#f7d6),a
2f0b  1806      jr      #2f13           ; (6)
2f0d  2124f3    ld      hl,#f324
2f10  22d5f7    ld      (#f7d5),hl
2f13  21e8f2    ld      hl,#f2e8
2f16  3ad7f7    ld      a,(#f7d7)
2f19  bd        cp      l
2f1a  2004      jr      nz,#2f20        ; (4)
2f1c  3ad8f7    ld      a,(#f7d8)
2f1f  bc        cp      h
2f20  2812      jr      z,#2f34         ; (18)
2f22  3ad7f7    ld      a,(#f7d7)
2f25  d604      sub     #04
2f27  32d7f7    ld      (#f7d7),a
2f2a  3ad8f7    ld      a,(#f7d8)
2f2d  de00      sbc     a,#00
2f2f  32d8f7    ld      (#f7d8),a
2f32  1806      jr      #2f3a           ; (6)
2f34  2124f3    ld      hl,#f324
2f37  22d7f7    ld      (#f7d7),hl
2f3a  c384be    jp      #be84
2f3d  e7        rst     #20
2f3e  21f9ff    ld      hl,#fff9
2f41  39        add     hl,sp
2f42  f9        ld      sp,hl
2f43  97        sub     a
2f44  32dff7    ld      (#f7df),a
2f47  32e0f7    ld      (#f7e0),a
2f4a  21e8f2    ld      hl,#f2e8
2f4d  22e1f7    ld      (#f7e1),hl
2f50  2128f3    ld      hl,#f328
2f53  3ae1f7    ld      a,(#f7e1)
2f56  95        sub     l
2f57  3ae2f7    ld      a,(#f7e2)
2f5a  9c        sbc     a,h
2f5b  d2e4af    jp      nc,#afe4
2f5e  dd36f900  ld      (ix-#07),#00
2f62  dd7ef9    ld      a,(ix-#07)
2f65  ddbe04    cp      (ix+#04)
2f68  f2ebaf    jp      p,#afeb
2f6b  2adff7    ld      hl,(#f7df)
2f6e  e5        push    hl
2f6f  210600    ld      hl,#0006
2f72  e5        push    hl
2f73  cd01ba    call    #ba01
2f76  e1        pop     hl
2f77  5d        ld      e,l
2f78  2ae1f7    ld      hl,(#f7e1)
2f7b  23        inc     hl
2f7c  23        inc     hl
2f7d  7e        ld      a,(hl)
2f7e  ab        xor     e
2f7f  6f        ld      l,a
2f80  e5        push    hl
2f81  2adff7    ld      hl,(#f7df)
2f84  e5        push    hl
2f85  210800    ld      hl,#0008
2f88  e5        push    hl
2f89  cd01ba    call    #ba01
2f8c  e1        pop     hl
2f8d  5d        ld      e,l
2f8e  e1        pop     hl
2f8f  7d        ld      a,l
2f90  ab        xor     e
2f91  6f        ld      l,a
2f92  e5        push    hl
2f93  2adff7    ld      hl,(#f7df)
2f96  e5        push    hl
2f97  210b00    ld      hl,#000b
2f9a  e5        push    hl
2f9b  cd01ba    call    #ba01
2f9e  e1        pop     hl
2f9f  5d        ld      e,l
2fa0  e1        pop     hl
2fa1  7d        ld      a,l
2fa2  ab        xor     e
2fa3  6f        ld      l,a
2fa4  e5        push    hl
2fa5  2adff7    ld      hl,(#f7df)
2fa8  e5        push    hl
2fa9  210f00    ld      hl,#000f
2fac  e5        push    hl
2fad  cd01ba    call    #ba01
2fb0  e1        pop     hl
2fb1  5d        ld      e,l
2fb2  e1        pop     hl
2fb3  7d        ld      a,l
2fb4  ab        xor     e
2fb5  e601      and     #01
2fb7  6f        ld      l,a
2fb8  5f        ld      e,a
2fb9  87        add     a,a
2fba  9f        sbc     a,a
2fbb  57        ld      d,a
2fbc  2adff7    ld      hl,(#f7df)
2fbf  29        add     hl,hl
2fc0  7d        ld      a,l
2fc1  b3        or      e
2fc2  6f        ld      l,a
2fc3  7c        ld      a,h
2fc4  b2        or      d
2fc5  67        ld      h,a
2fc6  22dff7    ld      (#f7df),hl
2fc9  2ae1f7    ld      hl,(#f7e1)
2fcc  e5        push    hl
2fcd  1135f9    ld      de,#f935
2fd0  ff        rst     #38
2fd1  2135f9    ld      hl,#f935
2fd4  e5        push    hl
2fd5  210100    ld      hl,#0001
2fd8  e5        push    hl
2fd9  cd0fbd    call    #bd0f
2fdc  df        rst     #18
2fdd  f1        pop     af
2fde  dd34f9    inc     (ix-#07)
2fe1  c362af    jp      #af62
2fe4  ed4bdff7  ld      bc,(#f7df)
2fe8  c384be    jp      #be84
2feb  2ae1f7    ld      hl,(#f7e1)
2fee  23        inc     hl
2fef  23        inc     hl
2ff0  23        inc     hl
2ff1  23        inc     hl
2ff2  22e1f7    ld      (#f7e1),hl
2ff5  c350af    jp      #af50
2ff8  e7        rst     #20
2ff9  dd6e06    ld      l,(ix+#06)
2ffc  dd6607    ld      h,(ix+#07)
2fff  e5        push    hl
3000  dd6e04    ld      l,(ix+#04)
3003  dd6605    ld      h,(ix+#05)
3006  011200    ld      bc,#0012
3009  09        add     hl,bc
300a  01ffff    ld      bc,#ffff
300d  09        add     hl,bc
300e  e5        push    hl
300f  dd6e04    ld      l,(ix+#04)
3012  dd6605    ld      h,(ix+#05)
3015  cdd79a    call    #9ad7
3018  c38bbe    jp      #be8b
301b  e7        rst     #20
301c  dd6e04    ld      l,(ix+#04)
301f  dd6605    ld      h,(ix+#05)
3022  e5        push    hl
3023  211200    ld      hl,#0012
3026  e5        push    hl
3027  cd2dba    call    #ba2d
302a  e1        pop     hl
302b  01aee9    ld      bc,#e9ae
302e  09        add     hl,bc
302f  e5        push    hl
3030  3a3ef1    ld      a,(#f13e)
3033  4f        ld      c,a
3034  87        add     a,a
3035  9f        sbc     a,a
3036  47        ld      b,a
3037  c5        push    bc
3038  211200    ld      hl,#0012
303b  e5        push    hl
303c  cd2dba    call    #ba2d
303f  e1        pop     hl
3040  01aee9    ld      bc,#e9ae
3043  09        add     hl,bc
3044  01ffff    ld      bc,#ffff
3047  09        add     hl,bc
3048  e5        push    hl
3049  dd6e04    ld      l,(ix+#04)
304c  dd6605    ld      h,(ix+#05)
304f  e5        push    hl
3050  211200    ld      hl,#0012
3053  e5        push    hl
3054  cd2dba    call    #ba2d
3057  e1        pop     hl
3058  01c0e9    ld      bc,#e9c0
305b  09        add     hl,bc
305c  cdd79a    call    #9ad7
305f  3a3ef1    ld      a,(#f13e)
3062  d601      sub     #01
3064  323ef1    ld      (#f13e),a
3067  c384be    jp      #be84
306a  e7        rst     #20
306b  21f9ff    ld      hl,#fff9
306e  39        add     hl,sp
306f  f9        ld      sp,hl
3070  dd36f900  ld      (ix-#07),#00
3074  dd6e04    ld      l,(ix+#04)
3077  dd6605    ld      h,(ix+#05)
307a  e5        push    hl
307b  211200    ld      hl,#0012
307e  e5        push    hl
307f  cd2dba    call    #ba2d
3082  e1        pop     hl
3083  01aee9    ld      bc,#e9ae
3086  09        add     hl,bc
3087  22e7f7    ld      (#f7e7),hl
308a  dd6e04    ld      l,(ix+#04)
308d  dd6605    ld      h,(ix+#05)
3090  23        inc     hl
3091  22e5f7    ld      (#f7e5),hl
3094  3a3ef1    ld      a,(#f13e)
3097  5f        ld      e,a
3098  87        add     a,a
3099  9f        sbc     a,a
309a  57        ld      d,a
309b  3ae5f7    ld      a,(#f7e5)
309e  93        sub     e
309f  3ae6f7    ld      a,(#f7e6)
30a2  9a        sbc     a,d
30a3  f205b1    jp      p,#b105
30a6  2ae7f7    ld      hl,(#f7e7)
30a9  22e3f7    ld      (#f7e3),hl
30ac  2ae5f7    ld      hl,(#f7e5)
30af  e5        push    hl
30b0  211200    ld      hl,#0012
30b3  e5        push    hl
30b4  cd2dba    call    #ba2d
30b7  e1        pop     hl
30b8  01aee9    ld      bc,#e9ae
30bb  09        add     hl,bc
30bc  22e7f7    ld      (#f7e7),hl
30bf  2ae3f7    ld      hl,(#f7e3)
30c2  010800    ld      bc,#0008
30c5  09        add     hl,bc
30c6  e5        push    hl
30c7  2ae7f7    ld      hl,(#f7e7)
30ca  010800    ld      bc,#0008
30cd  09        add     hl,bc
30ce  c1        pop     bc
30cf  0a        ld      a,(bc)
30d0  be        cp      (hl)
30d1  fa15b1    jp      m,#b115
30d4  2ae7f7    ld      hl,(#f7e7)
30d7  e5        push    hl
30d8  2ae3f7    ld      hl,(#f7e3)
30db  e5        push    hl
30dc  cdb0ba    call    #bab0
30df  3034      jr      nc,#3115        ; (52)
30e1  dd36f901  ld      (ix-#07),#01
30e5  21e9f7    ld      hl,#f7e9
30e8  e5        push    hl
30e9  2ae3f7    ld      hl,(#f7e3)
30ec  cdf8af    call    #aff8
30ef  2ae3f7    ld      hl,(#f7e3)
30f2  e5        push    hl
30f3  2ae7f7    ld      hl,(#f7e7)
30f6  cdf8af    call    #aff8
30f9  2ae7f7    ld      hl,(#f7e7)
30fc  e5        push    hl
30fd  21e9f7    ld      hl,#f7e9
3100  cdf8af    call    #aff8
3103  1810      jr      #3115           ; (16)
3105  2e81      ld      l,#81
3107  cd5cba    call    #ba5c
310a  dd7ef9    ld      a,(ix-#07)
310d  fe01      cp      #01
310f  ca70b0    jp      z,#b070
3112  c384be    jp      #be84
3115  2ae5f7    ld      hl,(#f7e5)
3118  23        inc     hl
3119  22e5f7    ld      (#f7e5),hl
311c  c394b0    jp      #b094
311f  e7        rst     #20
3120  dd6e04    ld      l,(ix+#04)
3123  7d        ld      a,l
3124  f640      or      #40
3126  6f        ld      l,a
3127  cd4cb5    call    #b54c
312a  3a34f1    ld      a,(#f134)
312d  ddb604    or      (ix+#04)
3130  3234f1    ld      (#f134),a
3133  c384be    jp      #be84
3136  e7        rst     #20
3137  dd6e04    ld      l,(ix+#04)
313a  7d        ld      a,l
313b  f6a0      or      #a0
313d  6f        ld      l,a
313e  cd4cb5    call    #b54c
3141  dd6e04    ld      l,(ix+#04)
3144  7d        ld      a,l
3145  2f        cpl     
3146  6f        ld      l,a
3147  3a34f1    ld      a,(#f134)
314a  a5        and     l
314b  3234f1    ld      (#f134),a
314e  c384be    jp      #be84
3151  e7        rst     #20
3152  2ebf      ld      l,#bf
3154  cd4cb5    call    #b54c
3157  dd7e04    ld      a,(ix+#04)
315a  3234f1    ld      (#f134),a
315d  f640      or      #40
315f  6f        ld      l,a
3160  cd4cb5    call    #b54c
3163  c384be    jp      #be84
3166  03        inc     bc
3167  25        dec     h
3168  2826      jr      z,#3190         ; (38)
316a  85        add     a,l
316b  b2        or      d
316c  7b        ld      a,e
316d  b2        or      d
316e  75        ld      (hl),l
316f  b2        or      d
3170  72        ld      (hl),d
3171  b2        or      d
3172  05        dec     b
3173  1d        dec     e
3174  25        dec     h
3175  1c        inc     e
3176  27        daa     
3177  26a6      ld      h,#a6
3179  b2        or      d
317a  a4        and     h
317b  b2        or      d
317c  3c        inc     a
317d  b2        or      d
317e  3c        inc     a
317f  b2        or      d
3180  3ab212    ld      a,(#12b2)
3183  b2        or      d
3184  e7        rst     #20
3185  21c3ff    ld      hl,#ffc3
3188  39        add     hl,sp
3189  f9        ld      sp,hl
318a  3a40f1    ld      a,(#f140)
318d  dd77f4    ld      (ix-#0c),a
3190  3aa0f1    ld      a,(#f1a0)
3193  dd77f3    ld      (ix-#0d),a
3196  3a34f1    ld      a,(#f134)
3199  dd77f9    ld      (ix-#07),a
319c  dd6ef9    ld      l,(ix-#07)
319f  cb45      bit     0,l
31a1  2804      jr      z,#31a7         ; (4)
31a3  97        sub     a
31a4  32a0f1    ld      (#f1a0),a
31a7  dde5      push    ix
31a9  c1        pop     bc
31aa  21c3ff    ld      hl,#ffc3
31ad  09        add     hl,bc
31ae  cdba81    call    #81ba
31b1  3e01      ld      a,#01
31b3  3240f1    ld      (#f140),a
31b6  dd36f501  ld      (ix-#0b),#01
31ba  dd36f701  ld      (ix-#09),#01
31be  dd36f80a  ld      (ix-#08),#0a
31c2  2e08      ld      l,#08
31c4  cd36b1    call    #b136
31c7  2e04      ld      l,#04
31c9  cd1fb1    call    #b11f
31cc  3a15f1    ld      a,(#f115)
31cf  b7        or      a
31d0  2013      jr      nz,#31e5        ; (19)
31d2  3e01      ld      a,#01
31d4  32cbf0    ld      (#f0cb),a
31d7  2e00      ld      l,#00
31d9  cd7c76    call    #767c
31dc  79        ld      a,c
31dd  b7        or      a
31de  2005      jr      nz,#31e5        ; (5)
31e0  3e25      ld      a,#25
31e2  3226f1    ld      (#f126),a
31e5  dd6ef5    ld      l,(ix-#0b)
31e8  dd4e06    ld      c,(ix+#06)
31eb  dd4607    ld      b,(ix+#07)
31ee  cd1eb9    call    #b91e
31f1  97        sub     a
31f2  32cbf0    ld      (#f0cb),a
31f5  dd6ef8    ld      l,(ix-#08)
31f8  cd9573    call    #7395
31fb  dd36f500  ld      (ix-#0b),#00
31ff  dd36f810  ld      (ix-#08),#10
3203  2e04      ld      l,#04
3205  cd36b1    call    #b136
3208  3a27f1    ld      a,(#f127)
320b  4f        ld      c,a
320c  2172b1    ld      hl,#b172
320f  c3edb8    jp      #b8ed
3212  dd6ef9    ld      l,(ix-#07)
3215  cd51b1    call    #b151
3218  2e71      ld      l,#71
321a  cf        rst     #8
321b  dde5      push    ix
321d  c1        pop     bc
321e  21c3ff    ld      hl,#ffc3
3221  09        add     hl,bc
3222  cd2386    call    #8623
3225  cdb47f    call    #7fb4
3228  79        ld      a,c
3229  fe66      cp      #66
322b  caa8b2    jp      z,#b2a8
322e  cdb47f    call    #7fb4
3231  79        ld      a,c
3232  fe69      cp      #69
3234  c2b4b2    jp      nz,#b2b4
3237  c3a8b2    jp      #b2a8
323a  18d6      jr      #3212           ; (-42)
323c  2e08      ld      l,#08
323e  cd1fb1    call    #b11f
3241  dd6e04    ld      l,(ix+#04)
3244  dd6605    ld      h,(ix+#05)
3247  cd71be    call    #be71
324a  dd71f6    ld      (ix-#0a),c
324d  dd7ef6    ld      a,(ix-#0a)
3250  fe02      cp      #02
3252  2806      jr      z,#325a         ; (6)
3254  dd7ef6    ld      a,(ix-#0a)
3257  dd77f7    ld      (ix-#09),a
325a  2e0c      ld      l,#0c
325c  cd7c76    call    #767c
325f  79        ld      a,c
3260  b7        or      a
3261  28de      jr      z,#3241         ; (-34)
3263  2e0c      ld      l,#0c
3265  cd9573    call    #7395
3268  3a27f1    ld      a,(#f127)
326b  4f        ld      c,a
326c  2166b1    ld      hl,#b166
326f  c3edb8    jp      #b8ed
3272  c312b2    jp      #b212
3275  c3c2b1    jp      #b1c2
3278  c3c2b1    jp      #b1c2
327b  cde6b8    call    #b8e6
327e  dd36f702  ld      (ix-#09),#02
3282  c312b2    jp      #b212
3285  cde6b8    call    #b8e6
3288  3a26f1    ld      a,(#f126)
328b  fe45      cp      #45
328d  283a      jr      z,#32c9         ; (58)
328f  3e01      ld      a,#01
3291  32a0f1    ld      (#f1a0),a
3294  3a26f1    ld      a,(#f126)
3297  3269e9    ld      (#e969),a
329a  3e45      ld      a,#45
329c  3226f1    ld      (#f126),a
329f  1828      jr      #32c9           ; (40)
32a1  c3c2b1    jp      #b1c2
32a4  18d5      jr      #327b           ; (-43)
32a6  18dd      jr      #3285           ; (-35)
32a8  3e78      ld      a,#78
32aa  323df1    ld      (#f13d),a
32ad  6f        ld      l,a
32ae  e5        push    hl
32af  2eff      ld      l,#ff
32b1  cd657f    call    #7f65
32b4  2e72      ld      l,#72
32b6  cf        rst     #8
32b7  dd7ef4    ld      a,(ix-#0c)
32ba  3240f1    ld      (#f140),a
32bd  dd7ef3    ld      a,(ix-#0d)
32c0  32a0f1    ld      (#f1a0),a
32c3  dd4ef7    ld      c,(ix-#09)
32c6  c38bbe    jp      #be8b
32c9  0e02      ld      c,#02
32cb  c38bbe    jp      #be8b
32ce  e7        rst     #20
32cf  21f9ff    ld      hl,#fff9
32d2  39        add     hl,sp
32d3  f9        ld      sp,hl
32d4  3a40f1    ld      a,(#f140)
32d7  fe03      cp      #03
32d9  2033      jr      nz,#330e        ; (51)
32db  2e17      ld      l,#17
32dd  cd7c76    call    #767c
32e0  79        ld      a,c
32e1  b7        or      a
32e2  2825      jr      z,#3309         ; (37)
32e4  3a34f1    ld      a,(#f134)
32e7  e608      and     #08
32e9  2819      jr      z,#3304         ; (25)
32eb  3a26f1    ld      a,(#f126)
32ee  fe28      cp      #28
32f0  280e      jr      z,#3300         ; (14)
32f2  3a26f1    ld      a,(#f126)
32f5  fe25      cp      #25
32f7  200b      jr      nz,#3304        ; (11)
32f9  3ab7f0    ld      a,(#f0b7)
32fc  fe10      cp      #10
32fe  2004      jr      nz,#3304        ; (4)
3300  0e02      ld      c,#02
3302  1803      jr      #3307           ; (3)
3304  cd79ac    call    #ac79
3307  1802      jr      #330b           ; (2)
3309  0e00      ld      c,#00
330b  c384be    jp      #be84
330e  dd7e04    ld      a,(ix+#04)
3311  b7        or      a
3312  2804      jr      z,#3318         ; (4)
3314  0e0d      ld      c,#0d
3316  1802      jr      #331a           ; (2)
3318  0e00      ld      c,#00
331a  dd71f9    ld      (ix-#07),c
331d  dd6ef9    ld      l,(ix-#07)
3320  cd7c76    call    #767c
3323  79        ld      a,c
3324  b7        or      a
3325  2813      jr      z,#333a         ; (19)
3327  3a26f1    ld      a,(#f126)
332a  fe27      cp      #27
332c  2011      jr      nz,#333f        ; (17)
332e  3a34f1    ld      a,(#f134)
3331  e608      and     #08
3333  280f      jr      z,#3344         ; (15)
3335  cd6f73    call    #736f
3338  180f      jr      #3349           ; (15)
333a  0e00      ld      c,#00
333c  c384be    jp      #be84
333f  0e02      ld      c,#02
3341  c384be    jp      #be84
3344  2e08      ld      l,#08
3346  cd1fb1    call    #b11f
3349  3e7f      ld      a,#7f
334b  3226f1    ld      (#f126),a
334e  0e00      ld      c,#00
3350  c384be    jp      #be84
3353  e7        rst     #20
3354  210001    ld      hl,#0100
3357  e5        push    hl
3358  2122f8    ld      hl,#f822
335b  cdb6b8    call    #b8b6
335e  2e00      ld      l,#00
3360  e5        push    hl
3361  dd6e04    ld      l,(ix+#04)
3364  dd6605    ld      h,(ix+#05)
3367  cd6ab6    call    #b66a
336a  69        ld      l,c
336b  60        ld      h,b
336c  2227f9    ld      (#f927),hl
336f  7d        ld      a,l
3370  dd9604    sub     (ix+#04)
3373  6f        ld      l,a
3374  7c        ld      a,h
3375  dd9e05    sbc     a,(ix+#05)
3378  67        ld      h,a
3379  0122f8    ld      bc,#f822
337c  09        add     hl,bc
337d  2223f9    ld      (#f923),hl
3380  2122f8    ld      hl,#f822
3383  3a23f9    ld      a,(#f923)
3386  bd        cp      l
3387  2004      jr      nz,#338d        ; (4)
3389  3a24f9    ld      a,(#f924)
338c  bc        cp      h
338d  201c      jr      nz,#33ab        ; (28)
338f  2122f8    ld      hl,#f822
3392  2220f8    ld      (#f820),hl
3395  012000    ld      bc,#0020
3398  09        add     hl,bc
3399  01ffff    ld      bc,#ffff
339c  09        add     hl,bc
339d  221ef8    ld      (#f81e),hl
33a0  2142f8    ld      hl,#f842
33a3  2223f9    ld      (#f923),hl
33a6  3600      ld      (hl),#00
33a8  c331b4    jp      #b431
33ab  2122f8    ld      hl,#f822
33ae  e5        push    hl
33af  2a27f9    ld      hl,(#f927)
33b2  e5        push    hl
33b3  dd6e04    ld      l,(ix+#04)
33b6  dd6605    ld      h,(ix+#05)
33b9  cdd79a    call    #9ad7
33bc  dd7e06    ld      a,(ix+#06)
33bf  b7        or      a
33c0  2834      jr      z,#33f6         ; (52)
33c2  2a23f9    ld      hl,(#f923)
33c5  01ffff    ld      bc,#ffff
33c8  09        add     hl,bc
33c9  221ef8    ld      (#f81e),hl
33cc  2a23f9    ld      hl,(#f923)
33cf  0122f8    ld      bc,#f822
33d2  7d        ld      a,l
33d3  91        sub     c
33d4  6f        ld      l,a
33d5  7c        ld      a,h
33d6  98        sbc     a,b
33d7  67        ld      h,a
33d8  3e20      ld      a,#20
33da  95        sub     l
33db  3e00      ld      a,#00
33dd  9c        sbc     a,h
33de  300c      jr      nc,#33ec        ; (12)
33e0  ed4b23f9  ld      bc,(#f923)
33e4  21e0ff    ld      hl,#ffe0
33e7  09        add     hl,bc
33e8  4d        ld      c,l
33e9  44        ld      b,h
33ea  1803      jr      #33ef           ; (3)
33ec  0122f8    ld      bc,#f822
33ef  69        ld      l,c
33f0  60        ld      h,b
33f1  2220f8    ld      (#f820),hl
33f4  183b      jr      #3431           ; (59)
33f6  2122f8    ld      hl,#f822
33f9  2220f8    ld      (#f820),hl
33fc  2a23f9    ld      hl,(#f923)
33ff  0122f8    ld      bc,#f822
3402  7d        ld      a,l
3403  91        sub     c
3404  6f        ld      l,a
3405  7c        ld      a,h
3406  98        sbc     a,b
3407  67        ld      h,a
3408  3e20      ld      a,#20
340a  95        sub     l
340b  3e00      ld      a,#00
340d  9c        sbc     a,h
340e  3012      jr      nc,#3422        ; (18)
3410  ed4b20f8  ld      bc,(#f820)
3414  212000    ld      hl,#0020
3417  09        add     hl,bc
3418  4d        ld      c,l
3419  44        ld      b,h
341a  21ffff    ld      hl,#ffff
341d  09        add     hl,bc
341e  4d        ld      c,l
341f  44        ld      b,h
3420  180a      jr      #342c           ; (10)
3422  ed4b23f9  ld      bc,(#f923)
3426  21ffff    ld      hl,#ffff
3429  09        add     hl,bc
342a  4d        ld      c,l
342b  44        ld      b,h
342c  69        ld      l,c
342d  60        ld      h,b
342e  221ef8    ld      (#f81e),hl
3431  2a1ef8    ld      hl,(#f81e)
3434  e5        push    hl
3435  2a20f8    ld      hl,(#f820)
3438  cd3eb4    call    #b43e
343b  c38bbe    jp      #be8b
343e  e7        rst     #20
343f  97        sub     a
3440  32fbf7    ld      (#f7fb),a
3443  dd6e04    ld      l,(ix+#04)
3446  dd6605    ld      h,(ix+#05)
3449  2229f9    ld      (#f929),hl
344c  21fcf7    ld      hl,#f7fc
344f  222bf9    ld      (#f92b),hl
3452  2a29f9    ld      hl,(#f929)
3455  ed4b2bf9  ld      bc,(#f92b)
3459  0a        ld      a,(bc)
345a  4f        ld      c,a
345b  7e        ld      a,(hl)
345c  b9        cp      c
345d  280b      jr      z,#346a         ; (11)
345f  2a2bf9    ld      hl,(#f92b)
3462  e5        push    hl
3463  2a29f9    ld      hl,(#f929)
3466  6e        ld      l,(hl)
3467  cdb7b4    call    #b4b7
346a  2a2bf9    ld      hl,(#f92b)
346d  23        inc     hl
346e  222bf9    ld      (#f92b),hl
3471  3a29f9    ld      a,(#f929)
3474  ddbe06    cp      (ix+#06)
3477  2006      jr      nz,#347f        ; (6)
3479  3a2af9    ld      a,(#f92a)
347c  ddbe07    cp      (ix+#07)
347f  2020      jr      nz,#34a1        ; (32)
3481  211cf8    ld      hl,#f81c
3484  3a2bf9    ld      a,(#f92b)
3487  95        sub     l
3488  3a2cf9    ld      a,(#f92c)
348b  9c        sbc     a,h
348c  301d      jr      nc,#34ab        ; (29)
348e  2a2bf9    ld      hl,(#f92b)
3491  7e        ld      a,(hl)
3492  fe20      cp      #20
3494  2818      jr      z,#34ae         ; (24)
3496  2a2bf9    ld      hl,(#f92b)
3499  e5        push    hl
349a  2e20      ld      l,#20
349c  cdb7b4    call    #b4b7
349f  180d      jr      #34ae           ; (13)
34a1  2a29f9    ld      hl,(#f929)
34a4  23        inc     hl
34a5  2229f9    ld      (#f929),hl
34a8  c352b4    jp      #b452
34ab  c38bbe    jp      #be8b
34ae  2a2bf9    ld      hl,(#f92b)
34b1  23        inc     hl
34b2  222bf9    ld      (#f92b),hl
34b5  18ca      jr      #3481           ; (-54)
34b7  e7        rst     #20
34b8  dd6e06    ld      l,(ix+#06)
34bb  dd6607    ld      h,(ix+#07)
34be  01fcf7    ld      bc,#f7fc
34c1  7d        ld      a,l
34c2  91        sub     c
34c3  6f        ld      l,a
34c4  7c        ld      a,h
34c5  98        sbc     a,b
34c6  67        ld      h,a
34c7  222df9    ld      (#f92d),hl
34ca  3afbf7    ld      a,(#f7fb)
34cd  b7        or      a
34ce  2010      jr      nz,#34e0        ; (16)
34d0  dd6e06    ld      l,(ix+#06)
34d3  dd6607    ld      h,(ix+#07)
34d6  7e        ld      a,(hl)
34d7  fe5f      cp      #5f
34d9  2005      jr      nz,#34e0        ; (5)
34db  2e80      ld      l,#80
34dd  cd4cb5    call    #b54c
34e0  211cf8    ld      hl,#f81c
34e3  3a2df9    ld      a,(#f92d)
34e6  be        cp      (hl)
34e7  2005      jr      nz,#34ee        ; (5)
34e9  3a2ef9    ld      a,(#f92e)
34ec  23        inc     hl
34ed  be        cp      (hl)
34ee  280d      jr      z,#34fd         ; (13)
34f0  2a2df9    ld      hl,(#f92d)
34f3  221cf8    ld      (#f81c),hl
34f6  7d        ld      a,l
34f7  f620      or      #20
34f9  6f        ld      l,a
34fa  cd4cb5    call    #b54c
34fd  2e81      ld      l,#81
34ff  cd5cba    call    #ba5c
3502  cb49      bit     1,c
3504  20f7      jr      nz,#34fd        ; (-9)
3506  dd6e06    ld      l,(ix+#06)
3509  dd6607    ld      h,(ix+#07)
350c  dd7e04    ld      a,(ix+#04)
350f  77        ld      (hl),a
3510  6e        ld      l,(hl)
3511  e5        push    hl
3512  2e80      ld      l,#80
3514  cd62be    call    #be62
3517  dd7e04    ld      a,(ix+#04)
351a  fe5f      cp      #5f
351c  200f      jr      nz,#352d        ; (15)
351e  3e01      ld      a,#01
3520  32fbf7    ld      (#f7fb),a
3523  2a2df9    ld      hl,(#f92d)
3526  7d        ld      a,l
3527  f660      or      #60
3529  6f        ld      l,a
352a  cd4cb5    call    #b54c
352d  3a1cf8    ld      a,(#f81c)
3530  d61f      sub     #1f
3532  3a1df8    ld      a,(#f81d)
3535  de00      sbc     a,#00
3537  f241b5    jp      p,#b541
353a  ed4b1cf8  ld      bc,(#f81c)
353e  03        inc     bc
353f  1803      jr      #3544           ; (3)
3541  010000    ld      bc,#0000
3544  69        ld      l,c
3545  60        ld      h,b
3546  221cf8    ld      (#f81c),hl
3549  c38bbe    jp      #be8b
354c  e7        rst     #20
354d  2e81      ld      l,#81
354f  cd5cba    call    #ba5c
3552  cb49      bit     1,c
3554  20f7      jr      nz,#354d        ; (-9)
3556  dd6e04    ld      l,(ix+#04)
3559  e5        push    hl
355a  2e81      ld      l,#81
355c  cd62be    call    #be62
355f  dd7e04    ld      a,(ix+#04)
3562  fee0      cp      #e0
3564  2807      jr      z,#356d         ; (7)
3566  dd7e04    ld      a,(ix+#04)
3569  fec0      cp      #c0
356b  2012      jr      nz,#357f        ; (18)
356d  dd7e04    ld      a,(ix+#04)
3570  fec0      cp      #c0
3572  2033      jr      nz,#35a7        ; (51)
3574  2e81      ld      l,#81
3576  cd5cba    call    #ba5c
3579  cb49      bit     1,c
357b  283e      jr      z,#35bb         ; (62)
357d  18f5      jr      #3574           ; (-11)
357f  dd7e04    ld      a,(ix+#04)
3582  5f        ld      e,a
3583  87        add     a,a
3584  9f        sbc     a,a
3585  57        ld      d,a
3586  7b        ld      a,e
3587  e6e0      and     #e0
3589  5f        ld      e,a
358a  97        sub     a
358b  57        ld      d,a
358c  7b        ld      a,e
358d  fe20      cp      #20
358f  2003      jr      nz,#3594        ; (3)
3591  7a        ld      a,d
3592  fe00      cp      #00
3594  2022      jr      nz,#35b8        ; (34)
3596  dd6e04    ld      l,(ix+#04)
3599  7d        ld      a,l
359a  e61f      and     #1f
359c  6f        ld      l,a
359d  321cf8    ld      (#f81c),a
35a0  87        add     a,a
35a1  9f        sbc     a,a
35a2  321df8    ld      (#f81d),a
35a5  1811      jr      #35b8           ; (17)
35a7  212000    ld      hl,#0020
35aa  e5        push    hl
35ab  21fcf7    ld      hl,#f7fc
35ae  cdb6b8    call    #b8b6
35b1  97        sub     a
35b2  321cf8    ld      (#f81c),a
35b5  321df8    ld      (#f81d),a
35b8  c384be    jp      #be84
35bb  2e80      ld      l,#80
35bd  e5        push    hl
35be  2e81      ld      l,#81
35c0  cd62be    call    #be62
35c3  18e2      jr      #35a7           ; (-30)
35c5  f7        rst     #30
35c6  2a23f9    ld      hl,(#f923)
35c9  01ffff    ld      bc,#ffff
35cc  09        add     hl,bc
35cd  222ff9    ld      (#f92f),hl
35d0  212ff9    ld      hl,#f92f
35d3  3a1ef8    ld      a,(#f81e)
35d6  96        sub     (hl)
35d7  3a1ff8    ld      a,(#f81f)
35da  23        inc     hl
35db  9e        sbc     a,(hl)
35dc  303c      jr      nc,#361a        ; (60)
35de  2a2ff9    ld      hl,(#f92f)
35e1  01f8ff    ld      bc,#fff8
35e4  09        add     hl,bc
35e5  3a1ef8    ld      a,(#f81e)
35e8  95        sub     l
35e9  3a1ff8    ld      a,(#f81f)
35ec  9c        sbc     a,h
35ed  3806      jr      c,#35f5         ; (6)
35ef  ed4b2ff9  ld      bc,(#f92f)
35f3  180a      jr      #35ff           ; (10)
35f5  ed4b1ef8  ld      bc,(#f81e)
35f9  210800    ld      hl,#0008
35fc  09        add     hl,bc
35fd  4d        ld      c,l
35fe  44        ld      b,h
35ff  69        ld      l,c
3600  60        ld      h,b
3601  221ef8    ld      (#f81e),hl
3604  01e1ff    ld      bc,#ffe1
3607  09        add     hl,bc
3608  2220f8    ld      (#f820),hl
360b  2a1ef8    ld      hl,(#f81e)
360e  e5        push    hl
360f  2a20f8    ld      hl,(#f820)
3612  cd3eb4    call    #b43e
3615  0e01      ld      c,#01
3617  c372be    jp      #be72
361a  0e00      ld      c,#00
361c  c372be    jp      #be72
361f  f7        rst     #30
3620  2122f8    ld      hl,#f822
3623  ed4b20f8  ld      bc,(#f820)
3627  7d        ld      a,l
3628  91        sub     c
3629  7c        ld      a,h
362a  98        sbc     a,b
362b  3038      jr      nc,#3665        ; (56)
362d  212af8    ld      hl,#f82a
3630  ed4b20f8  ld      bc,(#f820)
3634  7d        ld      a,l
3635  91        sub     c
3636  7c        ld      a,h
3637  98        sbc     a,b
3638  3805      jr      c,#363f         ; (5)
363a  0122f8    ld      bc,#f822
363d  180a      jr      #3649           ; (10)
363f  ed4b20f8  ld      bc,(#f820)
3643  21f8ff    ld      hl,#fff8
3646  09        add     hl,bc
3647  4d        ld      c,l
3648  44        ld      b,h
3649  69        ld      l,c
364a  60        ld      h,b
364b  2220f8    ld      (#f820),hl
364e  012000    ld      bc,#0020
3651  09        add     hl,bc
3652  01ffff    ld      bc,#ffff
3655  09        add     hl,bc
3656  221ef8    ld      (#f81e),hl
3659  e5        push    hl
365a  2a20f8    ld      hl,(#f820)
365d  cd3eb4    call    #b43e
3660  0e01      ld      c,#01
3662  c372be    jp      #be72
3665  0e00      ld      c,#00
3667  c372be    jp      #be72
366a  d1        pop     de
366b  c1        pop     bc
366c  79        ld      a,c
366d  010000    ld      bc,#0000
3670  edb1      cpir    
3672  2b        dec     hl
3673  4d        ld      c,l
3674  44        ld      b,h
3675  eb        ex      de,hl
3676  e9        jp      (hl)
3677  f5        push    af
3678  0f        rrca    
3679  f0        ret     p

367a  0f        rrca    
367b  f0        ret     p

367c  f0        ret     p

367d  0f        rrca    
367e  0f        rrca    
367f  f0        ret     p

3680  50        ld      d,b
3681  4f        ld      c,a
3682  44        ld      b,h
3683  2053      jr      nz,#36d8        ; (83)
3685  45        ld      b,l
3686  4c        ld      c,h
3687  46        ld      b,(hl)
3688  2d        dec     l
3689  54        ld      d,h
368a  45        ld      b,l
368b  53        ld      d,e
368c  54        ld      d,h
368d  2000      jr      nz,#368f        ; (0)
368f  f7        rst     #30
3690  21f7ff    ld      hl,#fff7
3693  39        add     hl,sp
3694  f9        ld      sp,hl
3695  2e08      ld      l,#08
3697  cd1fb1    call    #b11f
369a  3e01      ld      a,#01
369c  3240f1    ld      (#f140),a
369f  2e72      ld      l,#72
36a1  cf        rst     #8
36a2  2e00      ld      l,#00
36a4  cd7c76    call    #767c
36a7  79        ld      a,c
36a8  b7        or      a
36a9  2806      jr      z,#36b1         ; (6)
36ab  cd1395    call    #9513
36ae  c343b7    jp      #b743
36b1  2e71      ld      l,#71
36b3  cf        rst     #8
36b4  2e58      ld      l,#58
36b6  cf        rst     #8
36b7  2180b6    ld      hl,#b680
36ba  ef        rst     #28
36bb  dd36f900  ld      (ix-#07),#00
36bf  2e00      ld      l,#00
36c1  cd7f94    call    #947f
36c4  79        ld      a,c
36c5  fe02      cp      #02
36c7  ca4eb7    jp      z,#b74e
36ca  2157f1    ld      hl,#f157
36cd  ef        rst     #28
36ce  2e63      ld      l,#63
36d0  d7        rst     #10
36d1  2e00      ld      l,#00
36d3  cda292    call    #92a2
36d6  2e05      ld      l,#05
36d8  e5        push    hl
36d9  2177b6    ld      hl,#b677
36dc  cd8593    call    #9385
36df  79        ld      a,c
36e0  b7        or      a
36e1  2814      jr      z,#36f7         ; (20)
36e3  2e01      ld      l,#01
36e5  cda292    call    #92a2
36e8  3ad8f0    ld      a,(#f0d8)
36eb  6f        ld      l,a
36ec  e5        push    hl
36ed  2131f9    ld      hl,#f931
36f0  cdbe92    call    #92be
36f3  79        ld      a,c
36f4  b7        or      a
36f5  201b      jr      nz,#3712        ; (27)
36f7  2e69      ld      l,#69
36f9  d7        rst     #10
36fa  2e63      ld      l,#63
36fc  d7        rst     #10
36fd  dd7ef9    ld      a,(ix-#07)
3700  32c7f0    ld      (#f0c7),a
3703  2e02      ld      l,#02
3705  e5        push    hl
3706  2e10      ld      l,#10
3708  e5        push    hl
3709  21c5f0    ld      hl,#f0c5
370c  cdc57f    call    #7fc5
370f  c39fb6    jp      #b69f
3712  dde5      push    ix
3714  c1        pop     bc
3715  21f7ff    ld      hl,#fff7
3718  09        add     hl,bc
3719  cdf692    call    #92f6
371c  79        ld      a,c
371d  b7        or      a
371e  28d7      jr      z,#36f7         ; (-41)
3720  dd6ef7    ld      l,(ix-#09)
3723  cb75      bit     6,l
3725  200c      jr      nz,#3733        ; (12)
3727  2e00      ld      l,#00
3729  cd7f94    call    #947f
372c  79        ld      a,c
372d  fe02      cp      #02
372f  200d      jr      nz,#373e        ; (13)
3731  181b      jr      #374e           ; (27)
3733  dd6ef7    ld      l,(ix-#09)
3736  7d        ld      a,l
3737  e687      and     #87
3739  2819      jr      z,#3754         ; (25)
373b  c3f7b6    jp      #b6f7
373e  3e28      ld      a,#28
3740  3226f1    ld      (#f126),a
3743  3a26f1    ld      a,(#f126)
3746  3269e9    ld      (#e969),a
3749  3e45      ld      a,#45
374b  3226f1    ld      (#f126),a
374e  2e72      ld      l,#72
3750  cf        rst     #8
3751  c372be    jp      #be72
3754  97        sub     a
3755  323ff3    ld      (#f33f),a
3758  3240f3    ld      (#f340),a
375b  3241f3    ld      (#f341),a
375e  3242f3    ld      (#f342),a
3761  dd36f800  ld      (ix-#08),#00
3765  21d8f0    ld      hl,#f0d8
3768  dd7ef8    ld      a,(ix-#08)
376b  be        cp      (hl)
376c  f2acb7    jp      p,#b7ac
376f  213ff3    ld      hl,#f33f
3772  e5        push    hl
3773  1135f9    ld      de,#f935
3776  ff        rst     #38
3777  2135f9    ld      hl,#f935
377a  e5        push    hl
377b  210800    ld      hl,#0008
377e  e5        push    hl
377f  cdb2bc    call    #bcb2
3782  2131f9    ld      hl,#f931
3785  dd7ef8    ld      a,(ix-#08)
3788  5f        ld      e,a
3789  87        add     a,a
378a  9f        sbc     a,a
378b  57        ld      d,a
378c  19        add     hl,de
378d  4d        ld      c,l
378e  44        ld      b,h
378f  0a        ld      a,(bc)
3790  323ff9    ld      (#f93f),a
3793  87        add     a,a
3794  9f        sbc     a,a
3795  3240f9    ld      (#f940),a
3798  323ef9    ld      (#f93e),a
379b  323df9    ld      (#f93d),a
379e  213df9    ld      hl,#f93d
37a1  e5        push    hl
37a2  cd62ba    call    #ba62
37a5  df        rst     #18
37a6  f1        pop     af
37a7  dd34f8    inc     (ix-#08)
37aa  18b9      jr      #3765           ; (-71)
37ac  213ff3    ld      hl,#f33f
37af  1135f9    ld      de,#f935
37b2  ff        rst     #38
37b3  2135f9    ld      hl,#f935
37b6  e5        push    hl
37b7  217cb6    ld      hl,#b67c
37ba  e5        push    hl
37bb  cd23be    call    #be23
37be  21d4f0    ld      hl,#f0d4
37c1  e5        push    hl
37c2  cd8dba    call    #ba8d
37c5  e1        pop     hl
37c6  7e        ld      a,(hl)
37c7  23        inc     hl
37c8  b6        or      (hl)
37c9  23        inc     hl
37ca  b6        or      (hl)
37cb  23        inc     hl
37cc  b6        or      (hl)
37cd  c2f7b6    jp      nz,#b6f7
37d0  dd34f9    inc     (ix-#07)
37d3  2e00      ld      l,#00
37d5  cda292    call    #92a2
37d8  2e03      ld      l,#03
37da  cdbe93    call    #93be
37dd  79        ld      a,c
37de  b7        or      a
37df  caf7b6    jp      z,#b6f7
37e2  dd36f800  ld      (ix-#08),#00
37e6  21d8f0    ld      hl,#f0d8
37e9  dd7ef8    ld      a,(ix-#08)
37ec  be        cp      (hl)
37ed  f208b8    jp      p,#b808
37f0  2131f9    ld      hl,#f931
37f3  dd7ef8    ld      a,(ix-#08)
37f6  5f        ld      e,a
37f7  87        add     a,a
37f8  9f        sbc     a,a
37f9  57        ld      d,a
37fa  19        add     hl,de
37fb  7e        ld      a,(hl)
37fc  2f        cpl     
37fd  6f        ld      l,a
37fe  cdbe93    call    #93be
3801  79        ld      a,c
3802  b7        or      a
3803  2022      jr      nz,#3827        ; (34)
3805  c3f7b6    jp      #b6f7
3808  2e01      ld      l,#01
380a  cda292    call    #92a2
380d  dde5      push    ix
380f  c1        pop     bc
3810  21f7ff    ld      hl,#fff7
3813  09        add     hl,bc
3814  cdf692    call    #92f6
3817  79        ld      a,c
3818  b7        or      a
3819  caf7b6    jp      z,#b6f7
381c  dd6ef7    ld      l,(ix-#09)
381f  7d        ld      a,l
3820  e687      and     #87
3822  2808      jr      z,#382c         ; (8)
3824  c3f7b6    jp      #b6f7
3827  dd34f8    inc     (ix-#08)
382a  18ba      jr      #37e6           ; (-70)
382c  dd34f9    inc     (ix-#07)
382f  2e00      ld      l,#00
3831  cda292    call    #92a2
3834  2e04      ld      l,#04
3836  cdbe93    call    #93be
3839  79        ld      a,c
383a  b7        or      a
383b  caf7b6    jp      z,#b6f7
383e  2e01      ld      l,#01
3840  cda292    call    #92a2
3843  dd36f800  ld      (ix-#08),#00
3847  dd7ef8    ld      a,(ix-#08)
384a  fe02      cp      #02
384c  f263b8    jp      p,#b863
384f  2131f9    ld      hl,#f931
3852  cdf692    call    #92f6
3855  79        ld      a,c
3856  b7        or      a
3857  caf7b6    jp      z,#b6f7
385a  3a31f9    ld      a,(#f931)
385d  b7        or      a
385e  281d      jr      z,#387d         ; (29)
3860  c3f7b6    jp      #b6f7
3863  dde5      push    ix
3865  c1        pop     bc
3866  21f7ff    ld      hl,#fff7
3869  09        add     hl,bc
386a  cdf692    call    #92f6
386d  79        ld      a,c
386e  b7        or      a
386f  caf7b6    jp      z,#b6f7
3872  dd6ef7    ld      l,(ix-#09)
3875  7d        ld      a,l
3876  e687      and     #87
3878  2808      jr      z,#3882         ; (8)
387a  c3f7b6    jp      #b6f7
387d  dd34f8    inc     (ix-#08)
3880  18c5      jr      #3847           ; (-59)
3882  dd34f9    inc     (ix-#07)
3885  2e00      ld      l,#00
3887  cda292    call    #92a2
388a  2e06      ld      l,#06
388c  cdbe93    call    #93be
388f  79        ld      a,c
3890  b7        or      a
3891  caf7b6    jp      z,#b6f7
3894  3adaf0    ld      a,(#f0da)
3897  6f        ld      l,a
3898  cdbe93    call    #93be
389b  79        ld      a,c
389c  b7        or      a
389d  caf7b6    jp      z,#b6f7
38a0  2e01      ld      l,#01
38a2  cda292    call    #92a2
38a5  2131f9    ld      hl,#f931
38a8  cdf692    call    #92f6
38ab  79        ld      a,c
38ac  b7        or      a
38ad  c2f7b6    jp      nz,#b6f7
38b0  2e66      ld      l,#66
38b2  d7        rst     #10
38b3  c39fb6    jp      #b69f
38b6  d1        pop     de
38b7  c1        pop     bc
38b8  d5        push    de
38b9  3e20      ld      a,#20
38bb  77        ld      (hl),a
38bc  5d        ld      e,l
38bd  54        ld      d,h
38be  13        inc     de
38bf  0b        dec     bc
38c0  edb0      ldir    
38c2  c9        ret     

38c3  d1        pop     de
38c4  c1        pop     bc
38c5  d5        push    de
38c6  3e00      ld      a,#00
38c8  77        ld      (hl),a
38c9  5d        ld      e,l
38ca  54        ld      d,h
38cb  13        inc     de
38cc  0b        dec     bc
38cd  edb0      ldir    
38cf  c9        ret     

38d0  f7        rst     #30
38d1  3abef0    ld      a,(#f0be)
38d4  b7        or      a
38d5  2803      jr      z,#38da         ; (3)
38d7  cd6f73    call    #736f
38da  c372be    jp      #be72
38dd  f7        rst     #30
38de  cd1395    call    #9513
38e1  0e00      ld      c,#00
38e3  c372be    jp      #be72
38e6  3a27f1    ld      a,(#f127)
38e9  3226f1    ld      (#f126),a
38ec  c9        ret     

38ed  79        ld      a,c
38ee  0600      ld      b,#00
38f0  4e        ld      c,(hl)
38f1  23        inc     hl
38f2  c5        push    bc
38f3  e5        push    hl
38f4  edb1      cpir    
38f6  2801      jr      z,#38f9         ; (1)
38f8  0b        dec     bc
38f9  e1        pop     hl
38fa  03        inc     bc
38fb  09        add     hl,bc
38fc  09        add     hl,bc
38fd  c1        pop     bc
38fe  09        add     hl,bc
38ff  7e        ld      a,(hl)
3900  23        inc     hl
3901  66        ld      h,(hl)
3902  6f        ld      l,a
3903  e9        jp      (hl)
3904  113df9    ld      de,#f93d
3907  c30db9    jp      #b90d
390a  1135f9    ld      de,#f935
390d  eda0      ldi     
390f  eda0      ldi     
3911  eda0      ldi     
3913  eda0      ldi     
3915  eda0      ldi     
3917  eda0      ldi     
3919  eda0      ldi     
391b  eda0      ldi     
391d  c9        ret     

391e  c5        push    bc
391f  c9        ret     

3920  e5        push    hl
3921  c5        push    bc
3922  d5        push    de
3923  1e00      ld      e,#00
3925  210900    ld      hl,#0009
3928  39        add     hl,sp
3929  cd7cb9    call    #b97c
392c  210b00    ld      hl,#000b
392f  39        add     hl,sp
3930  cd7cb9    call    #b97c
3933  cd8ab9    call    #b98a
3936  3007      jr      nc,#393f        ; (7)
3938  97        sub     a
3939  91        sub     c
393a  4f        ld      c,a
393b  3e00      ld      a,#00
393d  98        sbc     a,b
393e  47        ld      b,a
393f  71        ld      (hl),c
3940  23        inc     hl
3941  70        ld      (hl),b
3942  d1        pop     de
3943  c3d5be    jp      #bed5
3946  e5        push    hl
3947  c5        push    bc
3948  d5        push    de
3949  210900    ld      hl,#0009
394c  39        add     hl,sp
394d  cd7cb9    call    #b97c
3950  1e00      ld      e,#00
3952  210b00    ld      hl,#000b
3955  39        add     hl,sp
3956  cd7cb9    call    #b97c
3959  cd8ab9    call    #b98a
395c  3007      jr      nc,#3965        ; (7)
395e  97        sub     a
395f  93        sub     e
3960  5f        ld      e,a
3961  3e00      ld      a,#00
3963  9a        sbc     a,d
3964  57        ld      d,a
3965  73        ld      (hl),e
3966  23        inc     hl
3967  72        ld      (hl),d
3968  d1        pop     de
3969  c3d5be    jp      #bed5
396c  e5        push    hl
396d  c5        push    bc
396e  d5        push    de
396f  1e00      ld      e,#00
3971  c333b9    jp      #b933
3974  e5        push    hl
3975  c5        push    bc
3976  d5        push    de
3977  1e00      ld      e,#00
3979  c359b9    jp      #b959
397c  7e        ld      a,(hl)
397d  b7        or      a
397e  f0        ret     p

397f  97        sub     a
3980  2b        dec     hl
3981  96        sub     (hl)
3982  77        ld      (hl),a
3983  3e00      ld      a,#00
3985  23        inc     hl
3986  9e        sbc     a,(hl)
3987  77        ld      (hl),a
3988  1c        inc     e
3989  c9        ret     

398a  d5        push    de
398b  110000    ld      de,#0000
398e  210c00    ld      hl,#000c
3991  39        add     hl,sp
3992  4e        ld      c,(hl)
3993  23        inc     hl
3994  46        ld      b,(hl)
3995  23        inc     hl
3996  7e        ld      a,(hl)
3997  23        inc     hl
3998  66        ld      h,(hl)
3999  6f        ld      l,a
399a  3e10      ld      a,#10
399c  f5        push    af
399d  f1        pop     af
399e  3d        dec     a
399f  fab6b9    jp      m,#b9b6
39a2  f5        push    af
39a3  29        add     hl,hl
39a4  cb13      rl      e
39a6  cb12      rl      d
39a8  7b        ld      a,e
39a9  91        sub     c
39aa  7a        ld      a,d
39ab  98        sbc     a,b
39ac  38ef      jr      c,#399d         ; (-17)
39ae  57        ld      d,a
39af  7b        ld      a,e
39b0  91        sub     c
39b1  5f        ld      e,a
39b2  2c        inc     l
39b3  c39db9    jp      #b99d
39b6  4d        ld      c,l
39b7  44        ld      b,h
39b8  210e00    ld      hl,#000e
39bb  39        add     hl,sp
39bc  f1        pop     af
39bd  c9        ret     

39be  e5        push    hl
39bf  c5        push    bc
39c0  210600    ld      hl,#0006
39c3  39        add     hl,sp
39c4  7e        ld      a,(hl)
39c5  b7        or      a
39c6  f2ceb9    jp      p,#b9ce
39c9  2f        cpl     
39ca  3c        inc     a
39cb  c3eeb9    jp      #b9ee
39ce  cad5be    jp      z,#bed5
39d1  47        ld      b,a
39d2  23        inc     hl
39d3  23        inc     hl
39d4  7e        ld      a,(hl)
39d5  23        inc     hl
39d6  66        ld      h,(hl)
39d7  6f        ld      l,a
39d8  29        add     hl,hl
39d9  10fd      djnz    #39d8           ; (-3)
39db  c321ba    jp      #ba21
39de  e5        push    hl
39df  c5        push    bc
39e0  210600    ld      hl,#0006
39e3  39        add     hl,sp
39e4  7e        ld      a,(hl)
39e5  b7        or      a
39e6  f2eeb9    jp      p,#b9ee
39e9  2f        cpl     
39ea  3c        inc     a
39eb  c3ceb9    jp      #b9ce
39ee  cad5be    jp      z,#bed5
39f1  47        ld      b,a
39f2  23        inc     hl
39f3  23        inc     hl
39f4  7e        ld      a,(hl)
39f5  23        inc     hl
39f6  66        ld      h,(hl)
39f7  6f        ld      l,a
39f8  cb2c      sra     h
39fa  cb1d      rr      l
39fc  10fa      djnz    #39f8           ; (-6)
39fe  c321ba    jp      #ba21
3a01  e5        push    hl
3a02  c5        push    bc
3a03  210600    ld      hl,#0006
3a06  39        add     hl,sp
3a07  7e        ld      a,(hl)
3a08  b7        or      a
3a09  f211ba    jp      p,#ba11
3a0c  2f        cpl     
3a0d  3c        inc     a
3a0e  c3ceb9    jp      #b9ce
3a11  cad5be    jp      z,#bed5
3a14  47        ld      b,a
3a15  23        inc     hl
3a16  23        inc     hl
3a17  7e        ld      a,(hl)
3a18  23        inc     hl
3a19  66        ld      h,(hl)
3a1a  6f        ld      l,a
3a1b  cb3c      srl     h
3a1d  cb1d      rr      l
3a1f  10fa      djnz    #3a1b           ; (-6)
3a21  4d        ld      c,l
3a22  44        ld      b,h
3a23  210800    ld      hl,#0008
3a26  39        add     hl,sp
3a27  71        ld      (hl),c
3a28  23        inc     hl
3a29  70        ld      (hl),b
3a2a  c3d5be    jp      #bed5
3a2d  e5        push    hl
3a2e  c5        push    bc
3a2f  d5        push    de
3a30  210800    ld      hl,#0008
3a33  39        add     hl,sp
3a34  4e        ld      c,(hl)
3a35  23        inc     hl
3a36  46        ld      b,(hl)
3a37  23        inc     hl
3a38  5e        ld      e,(hl)
3a39  23        inc     hl
3a3a  56        ld      d,(hl)
3a3b  210000    ld      hl,#0000
3a3e  78        ld      a,b
3a3f  b1        or      c
3a40  280e      jr      z,#3a50         ; (14)
3a42  cb38      srl     b
3a44  cb19      rr      c
3a46  3001      jr      nc,#3a49        ; (1)
3a48  19        add     hl,de
3a49  cb23      sla     e
3a4b  cb12      rl      d
3a4d  c33eba    jp      #ba3e
3a50  eb        ex      de,hl
3a51  210a00    ld      hl,#000a
3a54  39        add     hl,sp
3a55  73        ld      (hl),e
3a56  23        inc     hl
3a57  72        ld      (hl),d
3a58  d1        pop     de
3a59  c3d5be    jp      #bed5
3a5c  4d        ld      c,l
3a5d  ed48      in      c,(c)
3a5f  0600      ld      b,#00
3a61  c9        ret     

3a62  e5        push    hl
3a63  c5        push    bc
3a64  210600    ld      hl,#0006
3a67  39        add     hl,sp
3a68  4e        ld      c,(hl)
3a69  23        inc     hl
3a6a  46        ld      b,(hl)
3a6b  23        inc     hl
3a6c  7e        ld      a,(hl)
3a6d  23        inc     hl
3a6e  66        ld      h,(hl)
3a6f  6f        ld      l,a
3a70  03        inc     bc
3a71  03        inc     bc
3a72  0a        ld      a,(bc)
3a73  23        inc     hl
3a74  23        inc     hl
3a75  86        add     a,(hl)
3a76  77        ld      (hl),a
3a77  03        inc     bc
3a78  0a        ld      a,(bc)
3a79  23        inc     hl
3a7a  8e        adc     a,(hl)
3a7b  77        ld      (hl),a
3a7c  0b        dec     bc
3a7d  0b        dec     bc
3a7e  0b        dec     bc
3a7f  0a        ld      a,(bc)
3a80  2b        dec     hl
3a81  2b        dec     hl
3a82  2b        dec     hl
3a83  8e        adc     a,(hl)
3a84  77        ld      (hl),a
3a85  03        inc     bc
3a86  0a        ld      a,(bc)
3a87  23        inc     hl
3a88  8e        adc     a,(hl)
3a89  77        ld      (hl),a
3a8a  c3d5be    jp      #bed5
3a8d  e5        push    hl
3a8e  c5        push    bc
3a8f  210600    ld      hl,#0006
3a92  39        add     hl,sp
3a93  4e        ld      c,(hl)
3a94  23        inc     hl
3a95  46        ld      b,(hl)
3a96  23        inc     hl
3a97  7e        ld      a,(hl)
3a98  23        inc     hl
3a99  66        ld      h,(hl)
3a9a  6f        ld      l,a
3a9b  0a        ld      a,(bc)
3a9c  a6        and     (hl)
3a9d  77        ld      (hl),a
3a9e  03        inc     bc
3a9f  0a        ld      a,(bc)
3aa0  23        inc     hl
3aa1  a6        and     (hl)
3aa2  77        ld      (hl),a
3aa3  03        inc     bc
3aa4  0a        ld      a,(bc)
3aa5  23        inc     hl
3aa6  a6        and     (hl)
3aa7  77        ld      (hl),a
3aa8  03        inc     bc
3aa9  0a        ld      a,(bc)
3aaa  23        inc     hl
3aab  a6        and     (hl)
3aac  77        ld      (hl),a
3aad  c3d5be    jp      #bed5
3ab0  e5        push    hl
3ab1  c5        push    bc
3ab2  210800    ld      hl,#0008
3ab5  39        add     hl,sp
3ab6  4e        ld      c,(hl)
3ab7  23        inc     hl
3ab8  46        ld      b,(hl)
3ab9  2b        dec     hl
3aba  2b        dec     hl
3abb  2b        dec     hl
3abc  7e        ld      a,(hl)
3abd  23        inc     hl
3abe  66        ld      h,(hl)
3abf  6f        ld      l,a
3ac0  03        inc     bc
3ac1  03        inc     bc
3ac2  0a        ld      a,(bc)
3ac3  23        inc     hl
3ac4  23        inc     hl
3ac5  96        sub     (hl)
3ac6  03        inc     bc
3ac7  0a        ld      a,(bc)
3ac8  23        inc     hl
3ac9  9e        sbc     a,(hl)
3aca  0b        dec     bc
3acb  0b        dec     bc
3acc  0b        dec     bc
3acd  0a        ld      a,(bc)
3ace  2b        dec     hl
3acf  2b        dec     hl
3ad0  2b        dec     hl
3ad1  9e        sbc     a,(hl)
3ad2  03        inc     bc
3ad3  0a        ld      a,(bc)
3ad4  23        inc     hl
3ad5  9e        sbc     a,(hl)
3ad6  c3e4be    jp      #bee4
3ad9  e5        push    hl
3ada  c5        push    bc
3adb  210800    ld      hl,#0008
3ade  39        add     hl,sp
3adf  4e        ld      c,(hl)
3ae0  23        inc     hl
3ae1  46        ld      b,(hl)
3ae2  2b        dec     hl
3ae3  2b        dec     hl
3ae4  2b        dec     hl
3ae5  7e        ld      a,(hl)
3ae6  23        inc     hl
3ae7  66        ld      h,(hl)
3ae8  6f        ld      l,a
3ae9  0a        ld      a,(bc)
3aea  be        cp      (hl)
3aeb  c2e4be    jp      nz,#bee4
3aee  03        inc     bc
3aef  0a        ld      a,(bc)
3af0  23        inc     hl
3af1  be        cp      (hl)
3af2  c2e4be    jp      nz,#bee4
3af5  03        inc     bc
3af6  0a        ld      a,(bc)
3af7  23        inc     hl
3af8  be        cp      (hl)
3af9  c2e4be    jp      nz,#bee4
3afc  03        inc     bc
3afd  0a        ld      a,(bc)
3afe  23        inc     hl
3aff  be        cp      (hl)
3b00  c3e4be    jp      #bee4
3b03  e5        push    hl
3b04  210400    ld      hl,#0004
3b07  39        add     hl,sp
3b08  7e        ld      a,(hl)
3b09  23        inc     hl
3b0a  66        ld      h,(hl)
3b0b  6f        ld      l,a
3b0c  7e        ld      a,(hl)
3b0d  2f        cpl     
3b0e  77        ld      (hl),a
3b0f  23        inc     hl
3b10  7e        ld      a,(hl)
3b11  2f        cpl     
3b12  77        ld      (hl),a
3b13  23        inc     hl
3b14  7e        ld      a,(hl)
3b15  2f        cpl     
3b16  77        ld      (hl),a
3b17  23        inc     hl
3b18  7e        ld      a,(hl)
3b19  2f        cpl     
3b1a  77        ld      (hl),a
3b1b  e1        pop     hl
3b1c  c9        ret     

3b1d  cd37bc    call    #bc37
3b20  210800    ld      hl,#0008
3b23  39        add     hl,sp
3b24  4d        ld      c,l
3b25  44        ld      b,h
3b26  211400    ld      hl,#0014
3b29  39        add     hl,sp
3b2a  7e        ld      a,(hl)
3b2b  23        inc     hl
3b2c  66        ld      h,(hl)
3b2d  6f        ld      l,a
3b2e  cd4dbc    call    #bc4d
3b31  210000    ld      hl,#0000
3b34  39        add     hl,sp
3b35  4d        ld      c,l
3b36  44        ld      b,h
3b37  211600    ld      hl,#0016
3b3a  39        add     hl,sp
3b3b  7e        ld      a,(hl)
3b3c  23        inc     hl
3b3d  66        ld      h,(hl)
3b3e  6f        ld      l,a
3b3f  cd4dbc    call    #bc4d
3b42  cdd5bb    call    #bbd5
3b45  211600    ld      hl,#0016
3b48  39        add     hl,sp
3b49  4e        ld      c,(hl)
3b4a  23        inc     hl
3b4b  46        ld      b,(hl)
3b4c  210000    ld      hl,#0000
3b4f  39        add     hl,sp
3b50  cd7fbc    call    #bc7f
3b53  c344bc    jp      #bc44
3b56  cd37bc    call    #bc37
3b59  210800    ld      hl,#0008
3b5c  39        add     hl,sp
3b5d  4d        ld      c,l
3b5e  44        ld      b,h
3b5f  211400    ld      hl,#0014
3b62  39        add     hl,sp
3b63  7e        ld      a,(hl)
3b64  23        inc     hl
3b65  66        ld      h,(hl)
3b66  6f        ld      l,a
3b67  cd4dbc    call    #bc4d
3b6a  1e00      ld      e,#00
3b6c  210000    ld      hl,#0000
3b6f  39        add     hl,sp
3b70  4d        ld      c,l
3b71  44        ld      b,h
3b72  211600    ld      hl,#0016
3b75  39        add     hl,sp
3b76  7e        ld      a,(hl)
3b77  23        inc     hl
3b78  66        ld      h,(hl)
3b79  6f        ld      l,a
3b7a  cd4dbc    call    #bc4d
3b7d  cdd5bb    call    #bbd5
3b80  211600    ld      hl,#0016
3b83  39        add     hl,sp
3b84  4e        ld      c,(hl)
3b85  23        inc     hl
3b86  46        ld      b,(hl)
3b87  210400    ld      hl,#0004
3b8a  39        add     hl,sp
3b8b  cd7fbc    call    #bc7f
3b8e  c344bc    jp      #bc44
3b91  cd37bc    call    #bc37
3b94  210800    ld      hl,#0008
3b97  39        add     hl,sp
3b98  4d        ld      c,l
3b99  44        ld      b,h
3b9a  211400    ld      hl,#0014
3b9d  39        add     hl,sp
3b9e  7e        ld      a,(hl)
3b9f  23        inc     hl
3ba0  66        ld      h,(hl)
3ba1  6f        ld      l,a
3ba2  23        inc     hl
3ba3  cd6dbc    call    #bc6d
3ba6  210000    ld      hl,#0000
3ba9  39        add     hl,sp
3baa  4d        ld      c,l
3bab  44        ld      b,h
3bac  211600    ld      hl,#0016
3baf  39        add     hl,sp
3bb0  7e        ld      a,(hl)
3bb1  23        inc     hl
3bb2  66        ld      h,(hl)
3bb3  6f        ld      l,a
3bb4  23        inc     hl
3bb5  cd6dbc    call    #bc6d
3bb8  cdd5bb    call    #bbd5
3bbb  211600    ld      hl,#0016
3bbe  39        add     hl,sp
3bbf  4e        ld      c,(hl)
3bc0  23        inc     hl
3bc1  46        ld      b,(hl)
3bc2  1600      ld      d,#00
3bc4  6b        ld      l,e
3bc5  62        ld      h,d
3bc6  39        add     hl,sp
3bc7  cd9fbc    call    #bc9f
3bca  c344bc    jp      #bc44
3bcd  cd37bc    call    #bc37
3bd0  1e04      ld      e,#04
3bd2  c394bb    jp      #bb94
3bd5  210600    ld      hl,#0006
3bd8  39        add     hl,sp
3bd9  97        sub     a
3bda  77        ld      (hl),a
3bdb  23        inc     hl
3bdc  77        ld      (hl),a
3bdd  23        inc     hl
3bde  77        ld      (hl),a
3bdf  23        inc     hl
3be0  77        ld      (hl),a
3be1  1620      ld      d,#20
3be3  15        dec     d
3be4  f8        ret     m

3be5  210200    ld      hl,#0002
3be8  39        add     hl,sp
3be9  cb26      sla     (hl)
3beb  23        inc     hl
3bec  cb16      rl      (hl)
3bee  23        inc     hl
3bef  cb16      rl      (hl)
3bf1  23        inc     hl
3bf2  cb16      rl      (hl)
3bf4  23        inc     hl
3bf5  cb16      rl      (hl)
3bf7  23        inc     hl
3bf8  cb16      rl      (hl)
3bfa  23        inc     hl
3bfb  cb16      rl      (hl)
3bfd  23        inc     hl
3bfe  cb16      rl      (hl)
3c00  210600    ld      hl,#0006
3c03  39        add     hl,sp
3c04  4d        ld      c,l
3c05  44        ld      b,h
3c06  210a00    ld      hl,#000a
3c09  39        add     hl,sp
3c0a  0a        ld      a,(bc)
3c0b  96        sub     (hl)
3c0c  03        inc     bc
3c0d  0a        ld      a,(bc)
3c0e  23        inc     hl
3c0f  9e        sbc     a,(hl)
3c10  03        inc     bc
3c11  0a        ld      a,(bc)
3c12  23        inc     hl
3c13  9e        sbc     a,(hl)
3c14  03        inc     bc
3c15  0a        ld      a,(bc)
3c16  23        inc     hl
3c17  9e        sbc     a,(hl)
3c18  dae3bb    jp      c,#bbe3
3c1b  02        ld      (bc),a
3c1c  0b        dec     bc
3c1d  0b        dec     bc
3c1e  0b        dec     bc
3c1f  0a        ld      a,(bc)
3c20  2b        dec     hl
3c21  2b        dec     hl
3c22  2b        dec     hl
3c23  96        sub     (hl)
3c24  02        ld      (bc),a
3c25  03        inc     bc
3c26  0a        ld      a,(bc)
3c27  23        inc     hl
3c28  9e        sbc     a,(hl)
3c29  02        ld      (bc),a
3c2a  03        inc     bc
3c2b  0a        ld      a,(bc)
3c2c  23        inc     hl
3c2d  9e        sbc     a,(hl)
3c2e  02        ld      (bc),a
3c2f  210200    ld      hl,#0002
3c32  39        add     hl,sp
3c33  34        inc     (hl)
3c34  c3e3bb    jp      #bbe3
3c37  e3        ex      (sp),hl
3c38  c5        push    bc
3c39  d5        push    de
3c3a  eb        ex      de,hl
3c3b  21f4ff    ld      hl,#fff4
3c3e  39        add     hl,sp
3c3f  f9        ld      sp,hl
3c40  eb        ex      de,hl
3c41  1e00      ld      e,#00
3c43  e9        jp      (hl)
3c44  210c00    ld      hl,#000c
3c47  39        add     hl,sp
3c48  f9        ld      sp,hl
3c49  d1        pop     de
3c4a  c3d5be    jp      #bed5
3c4d  23        inc     hl
3c4e  7e        ld      a,(hl)
3c4f  b7        or      a
3c50  f26dbc    jp      p,#bc6d
3c53  97        sub     a
3c54  23        inc     hl
3c55  96        sub     (hl)
3c56  02        ld      (bc),a
3c57  3e00      ld      a,#00
3c59  23        inc     hl
3c5a  9e        sbc     a,(hl)
3c5b  03        inc     bc
3c5c  02        ld      (bc),a
3c5d  3e00      ld      a,#00
3c5f  2b        dec     hl
3c60  2b        dec     hl
3c61  2b        dec     hl
3c62  9e        sbc     a,(hl)
3c63  03        inc     bc
3c64  02        ld      (bc),a
3c65  3e00      ld      a,#00
3c67  23        inc     hl
3c68  9e        sbc     a,(hl)
3c69  03        inc     bc
3c6a  02        ld      (bc),a
3c6b  1c        inc     e
3c6c  c9        ret     

3c6d  23        inc     hl
3c6e  7e        ld      a,(hl)
3c6f  02        ld      (bc),a
3c70  23        inc     hl
3c71  7e        ld      a,(hl)
3c72  03        inc     bc
3c73  02        ld      (bc),a
3c74  2b        dec     hl
3c75  2b        dec     hl
3c76  2b        dec     hl
3c77  7e        ld      a,(hl)
3c78  03        inc     bc
3c79  02        ld      (bc),a
3c7a  23        inc     hl
3c7b  7e        ld      a,(hl)
3c7c  03        inc     bc
3c7d  02        ld      (bc),a
3c7e  c9        ret     

3c7f  7b        ld      a,e
3c80  e601      and     #01
3c82  ca9fbc    jp      z,#bc9f
3c85  97        sub     a
3c86  96        sub     (hl)
3c87  03        inc     bc
3c88  03        inc     bc
3c89  02        ld      (bc),a
3c8a  3e00      ld      a,#00
3c8c  23        inc     hl
3c8d  9e        sbc     a,(hl)
3c8e  03        inc     bc
3c8f  02        ld      (bc),a
3c90  3e00      ld      a,#00
3c92  23        inc     hl
3c93  9e        sbc     a,(hl)
3c94  0b        dec     bc
3c95  0b        dec     bc
3c96  0b        dec     bc
3c97  02        ld      (bc),a
3c98  3e00      ld      a,#00
3c9a  23        inc     hl
3c9b  9e        sbc     a,(hl)
3c9c  03        inc     bc
3c9d  02        ld      (bc),a
3c9e  c9        ret     

3c9f  7e        ld      a,(hl)
3ca0  03        inc     bc
3ca1  03        inc     bc
3ca2  02        ld      (bc),a
3ca3  23        inc     hl
3ca4  7e        ld      a,(hl)
3ca5  03        inc     bc
3ca6  02        ld      (bc),a
3ca7  23        inc     hl
3ca8  7e        ld      a,(hl)
3ca9  0b        dec     bc
3caa  0b        dec     bc
3cab  0b        dec     bc
3cac  02        ld      (bc),a
3cad  23        inc     hl
3cae  7e        ld      a,(hl)
3caf  03        inc     bc
3cb0  02        ld      (bc),a
3cb1  c9        ret     

3cb2  e5        push    hl
3cb3  c5        push    bc
3cb4  210600    ld      hl,#0006
3cb7  39        add     hl,sp
3cb8  7e        ld      a,(hl)
3cb9  b7        or      a
3cba  f2c2bc    jp      p,#bcc2
3cbd  ed44      neg     
3cbf  c3f0bc    jp      #bcf0
3cc2  cad5be    jp      z,#bed5
3cc5  47        ld      b,a
3cc6  23        inc     hl
3cc7  23        inc     hl
3cc8  7e        ld      a,(hl)
3cc9  23        inc     hl
3cca  66        ld      h,(hl)
3ccb  6f        ld      l,a
3ccc  23        inc     hl
3ccd  23        inc     hl
3cce  cb26      sla     (hl)
3cd0  23        inc     hl
3cd1  cb16      rl      (hl)
3cd3  2b        dec     hl
3cd4  2b        dec     hl
3cd5  2b        dec     hl
3cd6  cb16      rl      (hl)
3cd8  23        inc     hl
3cd9  cb16      rl      (hl)
3cdb  10f0      djnz    #3ccd           ; (-16)
3cdd  c3d5be    jp      #bed5
3ce0  e5        push    hl
3ce1  c5        push    bc
3ce2  210600    ld      hl,#0006
3ce5  39        add     hl,sp
3ce6  7e        ld      a,(hl)
3ce7  b7        or      a
3ce8  f2f0bc    jp      p,#bcf0
3ceb  ed44      neg     
3ced  c3c2bc    jp      #bcc2
3cf0  cad5be    jp      z,#bed5
3cf3  47        ld      b,a
3cf4  23        inc     hl
3cf5  23        inc     hl
3cf6  7e        ld      a,(hl)
3cf7  23        inc     hl
3cf8  66        ld      h,(hl)
3cf9  6f        ld      l,a
3cfa  23        inc     hl
3cfb  23        inc     hl
3cfc  2b        dec     hl
3cfd  cb2e      sra     (hl)
3cff  2b        dec     hl
3d00  cb1e      rr      (hl)
3d02  23        inc     hl
3d03  23        inc     hl
3d04  23        inc     hl
3d05  cb1e      rr      (hl)
3d07  2b        dec     hl
3d08  cb1e      rr      (hl)
3d0a  10f0      djnz    #3cfc           ; (-16)
3d0c  c3d5be    jp      #bed5
3d0f  e5        push    hl
3d10  c5        push    bc
3d11  210600    ld      hl,#0006
3d14  39        add     hl,sp
3d15  7e        ld      a,(hl)
3d16  b7        or      a
3d17  f21fbd    jp      p,#bd1f
3d1a  ed44      neg     
3d1c  c3c2bc    jp      #bcc2
3d1f  cad5be    jp      z,#bed5
3d22  47        ld      b,a
3d23  23        inc     hl
3d24  23        inc     hl
3d25  7e        ld      a,(hl)
3d26  23        inc     hl
3d27  66        ld      h,(hl)
3d28  6f        ld      l,a
3d29  23        inc     hl
3d2a  23        inc     hl
3d2b  2b        dec     hl
3d2c  cb3e      srl     (hl)
3d2e  2b        dec     hl
3d2f  cb1e      rr      (hl)
3d31  23        inc     hl
3d32  23        inc     hl
3d33  23        inc     hl
3d34  cb1e      rr      (hl)
3d36  2b        dec     hl
3d37  cb1e      rr      (hl)
3d39  10f0      djnz    #3d2b           ; (-16)
3d3b  c3d5be    jp      #bed5
3d3e  e5        push    hl
3d3f  c5        push    bc
3d40  d5        push    de
3d41  210a00    ld      hl,#000a
3d44  39        add     hl,sp
3d45  7e        ld      a,(hl)
3d46  23        inc     hl
3d47  66        ld      h,(hl)
3d48  6f        ld      l,a
3d49  4e        ld      c,(hl)
3d4a  23        inc     hl
3d4b  46        ld      b,(hl)
3d4c  c5        push    bc
3d4d  23        inc     hl
3d4e  4e        ld      c,(hl)
3d4f  23        inc     hl
3d50  46        ld      b,(hl)
3d51  c5        push    bc
3d52  210c00    ld      hl,#000c
3d55  39        add     hl,sp
3d56  7e        ld      a,(hl)
3d57  23        inc     hl
3d58  66        ld      h,(hl)
3d59  6f        ld      l,a
3d5a  4e        ld      c,(hl)
3d5b  23        inc     hl
3d5c  46        ld      b,(hl)
3d5d  c5        push    bc
3d5e  23        inc     hl
3d5f  4e        ld      c,(hl)
3d60  23        inc     hl
3d61  46        ld      b,(hl)
3d62  c5        push    bc
3d63  210000    ld      hl,#0000
3d66  e5        push    hl
3d67  e5        push    hl
3d68  210300    ld      hl,#0003
3d6b  39        add     hl,sp
3d6c  4d        ld      c,l
3d6d  44        ld      b,h
3d6e  23        inc     hl
3d6f  eb        ex      de,hl
3d70  eb        ex      de,hl
3d71  7e        ld      a,(hl)
3d72  23        inc     hl
3d73  b6        or      (hl)
3d74  23        inc     hl
3d75  b6        or      (hl)
3d76  23        inc     hl
3d77  b6        or      (hl)
3d78  2839      jr      z,#3db3         ; (57)
3d7a  cb3e      srl     (hl)
3d7c  2b        dec     hl
3d7d  cb1e      rr      (hl)
3d7f  2b        dec     hl
3d80  cb1e      rr      (hl)
3d82  2b        dec     hl
3d83  cb1e      rr      (hl)
3d85  eb        ex      de,hl
3d86  3019      jr      nc,#3da1        ; (25)
3d88  210800    ld      hl,#0008
3d8b  39        add     hl,sp
3d8c  0b        dec     bc
3d8d  0b        dec     bc
3d8e  0b        dec     bc
3d8f  0a        ld      a,(bc)
3d90  86        add     a,(hl)
3d91  02        ld      (bc),a
3d92  03        inc     bc
3d93  0a        ld      a,(bc)
3d94  23        inc     hl
3d95  8e        adc     a,(hl)
3d96  02        ld      (bc),a
3d97  03        inc     bc
3d98  0a        ld      a,(bc)
3d99  23        inc     hl
3d9a  8e        adc     a,(hl)
3d9b  02        ld      (bc),a
3d9c  03        inc     bc
3d9d  0a        ld      a,(bc)
3d9e  23        inc     hl
3d9f  8e        adc     a,(hl)
3da0  02        ld      (bc),a
3da1  210800    ld      hl,#0008
3da4  39        add     hl,sp
3da5  cb26      sla     (hl)
3da7  23        inc     hl
3da8  cb16      rl      (hl)
3daa  23        inc     hl
3dab  cb16      rl      (hl)
3dad  23        inc     hl
3dae  cb16      rl      (hl)
3db0  c370bd    jp      #bd70
3db3  210200    ld      hl,#0002
3db6  39        add     hl,sp
3db7  eb        ex      de,hl
3db8  211600    ld      hl,#0016
3dbb  39        add     hl,sp
3dbc  7e        ld      a,(hl)
3dbd  23        inc     hl
3dbe  66        ld      h,(hl)
3dbf  6f        ld      l,a
3dc0  1a        ld      a,(de)
3dc1  77        ld      (hl),a
3dc2  13        inc     de
3dc3  1a        ld      a,(de)
3dc4  23        inc     hl
3dc5  77        ld      (hl),a
3dc6  d1        pop     de
3dc7  23        inc     hl
3dc8  73        ld      (hl),e
3dc9  23        inc     hl
3dca  72        ld      (hl),d
3dcb  210a00    ld      hl,#000a
3dce  39        add     hl,sp
3dcf  f9        ld      sp,hl
3dd0  d1        pop     de
3dd1  c3d5be    jp      #bed5
3dd4  e5        push    hl
3dd5  c5        push    bc
3dd6  210600    ld      hl,#0006
3dd9  39        add     hl,sp
3dda  4e        ld      c,(hl)
3ddb  23        inc     hl
3ddc  46        ld      b,(hl)
3ddd  23        inc     hl
3dde  7e        ld      a,(hl)
3ddf  23        inc     hl
3de0  66        ld      h,(hl)
3de1  6f        ld      l,a
3de2  0a        ld      a,(bc)
3de3  b6        or      (hl)
3de4  77        ld      (hl),a
3de5  03        inc     bc
3de6  0a        ld      a,(bc)
3de7  23        inc     hl
3de8  b6        or      (hl)
3de9  77        ld      (hl),a
3dea  03        inc     bc
3deb  0a        ld      a,(bc)
3dec  23        inc     hl
3ded  b6        or      (hl)
3dee  77        ld      (hl),a
3def  03        inc     bc
3df0  0a        ld      a,(bc)
3df1  23        inc     hl
3df2  b6        or      (hl)
3df3  77        ld      (hl),a
3df4  c3d5be    jp      #bed5
3df7  e5        push    hl
3df8  c5        push    bc
3df9  210800    ld      hl,#0008
3dfc  39        add     hl,sp
3dfd  4e        ld      c,(hl)
3dfe  23        inc     hl
3dff  46        ld      b,(hl)
3e00  2b        dec     hl
3e01  2b        dec     hl
3e02  7e        ld      a,(hl)
3e03  2b        dec     hl
3e04  6e        ld      l,(hl)
3e05  67        ld      h,a
3e06  03        inc     bc
3e07  03        inc     bc
3e08  0a        ld      a,(bc)
3e09  23        inc     hl
3e0a  23        inc     hl
3e0b  96        sub     (hl)
3e0c  02        ld      (bc),a
3e0d  03        inc     bc
3e0e  0a        ld      a,(bc)
3e0f  23        inc     hl
3e10  9e        sbc     a,(hl)
3e11  02        ld      (bc),a
3e12  0b        dec     bc
3e13  0b        dec     bc
3e14  0b        dec     bc
3e15  0a        ld      a,(bc)
3e16  2b        dec     hl
3e17  2b        dec     hl
3e18  2b        dec     hl
3e19  9e        sbc     a,(hl)
3e1a  02        ld      (bc),a
3e1b  03        inc     bc
3e1c  0a        ld      a,(bc)
3e1d  23        inc     hl
3e1e  9e        sbc     a,(hl)
3e1f  02        ld      (bc),a
3e20  c3d5be    jp      #bed5
3e23  e5        push    hl
3e24  c5        push    bc
3e25  210600    ld      hl,#0006
3e28  39        add     hl,sp
3e29  4e        ld      c,(hl)
3e2a  23        inc     hl
3e2b  46        ld      b,(hl)
3e2c  23        inc     hl
3e2d  7e        ld      a,(hl)
3e2e  23        inc     hl
3e2f  66        ld      h,(hl)
3e30  6f        ld      l,a
3e31  0a        ld      a,(bc)
3e32  ae        xor     (hl)
3e33  77        ld      (hl),a
3e34  03        inc     bc
3e35  0a        ld      a,(bc)
3e36  23        inc     hl
3e37  ae        xor     (hl)
3e38  77        ld      (hl),a
3e39  03        inc     bc
3e3a  0a        ld      a,(bc)
3e3b  23        inc     hl
3e3c  ae        xor     (hl)
3e3d  77        ld      (hl),a
3e3e  03        inc     bc
3e3f  0a        ld      a,(bc)
3e40  23        inc     hl
3e41  ae        xor     (hl)
3e42  77        ld      (hl),a
3e43  c3d5be    jp      #bed5
3e46  e5        push    hl
3e47  c5        push    bc
3e48  d5        push    de
3e49  210800    ld      hl,#0008
3e4c  39        add     hl,sp
3e4d  5e        ld      e,(hl)
3e4e  23        inc     hl
3e4f  56        ld      d,(hl)
3e50  23        inc     hl
3e51  7e        ld      a,(hl)
3e52  23        inc     hl
3e53  66        ld      h,(hl)
3e54  6f        ld      l,a
3e55  eb        ex      de,hl
3e56  eda0      ldi     
3e58  eda0      ldi     
3e5a  eda0      ldi     
3e5c  eda0      ldi     
3e5e  d1        pop     de
3e5f  c3d5be    jp      #bed5
3e62  4d        ld      c,l
3e63  e1        pop     hl
3e64  d1        pop     de
3e65  ed59      out     (c),e
3e67  e9        jp      (hl)
3e68  e1        pop     hl
3e69  dde5      push    ix
3e6b  dd210000  ld      ix,#0000
3e6f  dd39      add     ix,sp
3e71  e9        jp      (hl)
3e72  ddf9      ld      sp,ix
3e74  dde1      pop     ix
3e76  c9        ret     

3e77  d1        pop     de
3e78  e3        ex      (sp),hl
3e79  e5        push    hl
3e7a  dde5      push    ix
3e7c  dd210000  ld      ix,#0000
3e80  dd39      add     ix,sp
3e82  eb        ex      de,hl
3e83  e9        jp      (hl)
3e84  ddf9      ld      sp,ix
3e86  dde1      pop     ix
3e88  e1        pop     hl
3e89  f1        pop     af
3e8a  e9        jp      (hl)
3e8b  ddf9      ld      sp,ix
3e8d  dde1      pop     ix
3e8f  e1        pop     hl
3e90  f1        pop     af
3e91  f1        pop     af
3e92  e9        jp      (hl)
3e93  ddf9      ld      sp,ix
3e95  dde1      pop     ix
3e97  e1        pop     hl
3e98  f1        pop     af
3e99  f1        pop     af
3e9a  f1        pop     af
3e9b  e9        jp      (hl)
3e9c  ddf9      ld      sp,ix
3e9e  dde1      pop     ix
3ea0  d1        pop     de
3ea1  2600      ld      h,#00
3ea3  6f        ld      l,a
3ea4  39        add     hl,sp
3ea5  f9        ld      sp,hl
3ea6  eb        ex      de,hl
3ea7  e9        jp      (hl)
3ea8  d1        pop     de
3ea9  dde5      push    ix
3eab  dd210000  ld      ix,#0000
3eaf  dd39      add     ix,sp
3eb1  2a49f9    ld      hl,(#f949)
3eb4  e5        push    hl
3eb5  2a47f9    ld      hl,(#f947)
3eb8  e5        push    hl
3eb9  2a45f9    ld      hl,(#f945)
3ebc  e5        push    hl
3ebd  eb        ex      de,hl
3ebe  e9        jp      (hl)
3ebf  11faff    ld      de,#fffa
3ec2  dd19      add     ix,de
3ec4  ddf9      ld      sp,ix
3ec6  e1        pop     hl
3ec7  2245f9    ld      (#f945),hl
3eca  e1        pop     hl
3ecb  2247f9    ld      (#f947),hl
3ece  e1        pop     hl
3ecf  2249f9    ld      (#f949),hl
3ed2  dde1      pop     ix
3ed4  c9        ret     

3ed5  210400    ld      hl,#0004
3ed8  39        add     hl,sp
3ed9  4e        ld      c,(hl)
3eda  23        inc     hl
3edb  46        ld      b,(hl)
3edc  23        inc     hl
3edd  71        ld      (hl),c
3ede  23        inc     hl
3edf  70        ld      (hl),b
3ee0  c1        pop     bc
3ee1  e1        pop     hl
3ee2  f1        pop     af
3ee3  c9        ret     

3ee4  f5        push    af
3ee5  210600    ld      hl,#0006
3ee8  39        add     hl,sp
3ee9  4e        ld      c,(hl)
3eea  23        inc     hl
3eeb  46        ld      b,(hl)
3eec  23        inc     hl
3eed  23        inc     hl
3eee  23        inc     hl
3eef  71        ld      (hl),c
3ef0  23        inc     hl
3ef1  70        ld      (hl),b
3ef2  c1        pop     bc
3ef3  2b        dec     hl
3ef4  2b        dec     hl
3ef5  2b        dec     hl
3ef6  71        ld      (hl),c
3ef7  c1        pop     bc
3ef8  e1        pop     hl
3ef9  f1        pop     af
3efa  f1        pop     af
3efb  c9        ret     

3efc  ec064f    call    pe,#4f06
3eff  110000    ld      de,#0000
3f02  e8        ret     pe

3f03  00        nop     
3f04  00        nop     
3f05  00        nop     
3f06  00        nop     
3f07  00        nop     
3f08  00        nop     
3f09  00        nop     
3f0a  00        nop     
3f0b  00        nop     
3f0c  00        nop     
3f0d  00        nop     
3f0e  00        nop     
3f0f  00        nop     
3f10  00        nop     
3f11  00        nop     
3f12  00        nop     
3f13  00        nop     
3f14  00        nop     
3f15  00        nop     
3f16  00        nop     
3f17  00        nop     
3f18  00        nop     
3f19  00        nop     
3f1a  00        nop     
3f1b  00        nop     
3f1c  00        nop     
3f1d  00        nop     
3f1e  00        nop     
3f1f  00        nop     
3f20  ff        rst     #38
3f21  ff        rst     #38
3f22  ff        rst     #38
3f23  ff        rst     #38
3f24  ff        rst     #38
3f25  ff        rst     #38
3f26  ff        rst     #38
3f27  ff        rst     #38
3f28  ff        rst     #38
3f29  ff        rst     #38
3f2a  ff        rst     #38
3f2b  ff        rst     #38
3f2c  ff        rst     #38
3f2d  ff        rst     #38
3f2e  ff        rst     #38
3f2f  ff        rst     #38
3f30  ff        rst     #38
3f31  ff        rst     #38
3f32  ff        rst     #38
3f33  ff        rst     #38
3f34  ff        rst     #38
3f35  ff        rst     #38
3f36  ff        rst     #38
3f37  ff        rst     #38
3f38  ff        rst     #38
3f39  ff        rst     #38
3f3a  ff        rst     #38
3f3b  ff        rst     #38
3f3c  ff        rst     #38
3f3d  ff        rst     #38
3f3e  ff        rst     #38
3f3f  ff        rst     #38
3f40  ff        rst     #38
3f41  ff        rst     #38
3f42  ff        rst     #38
3f43  ff        rst     #38
3f44  ff        rst     #38
3f45  ff        rst     #38
3f46  ff        rst     #38
3f47  ff        rst     #38
3f48  ff        rst     #38
3f49  ff        rst     #38
3f4a  ff        rst     #38
3f4b  ff        rst     #38
3f4c  ff        rst     #38
3f4d  ff        rst     #38
3f4e  ff        rst     #38
3f4f  ff        rst     #38
3f50  ff        rst     #38
3f51  ff        rst     #38
3f52  ff        rst     #38
3f53  ff        rst     #38
3f54  ff        rst     #38
3f55  ff        rst     #38
3f56  ff        rst     #38
3f57  ff        rst     #38
3f58  ff        rst     #38
3f59  ff        rst     #38
3f5a  ff        rst     #38
3f5b  ff        rst     #38
3f5c  ff        rst     #38
3f5d  ff        rst     #38
3f5e  ff        rst     #38
3f5f  ff        rst     #38
3f60  ff        rst     #38
3f61  ff        rst     #38
3f62  ff        rst     #38
3f63  ff        rst     #38
3f64  ff        rst     #38
3f65  ff        rst     #38
3f66  ff        rst     #38
3f67  ff        rst     #38
3f68  ff        rst     #38
3f69  ff        rst     #38
3f6a  ff        rst     #38
3f6b  ff        rst     #38
3f6c  ff        rst     #38
3f6d  ff        rst     #38
3f6e  ff        rst     #38
3f6f  ff        rst     #38
3f70  ff        rst     #38
3f71  ff        rst     #38
3f72  ff        rst     #38
3f73  ff        rst     #38
3f74  ff        rst     #38
3f75  ff        rst     #38
3f76  ff        rst     #38
3f77  ff        rst     #38
3f78  ff        rst     #38
3f79  ff        rst     #38
3f7a  ff        rst     #38
3f7b  ff        rst     #38
3f7c  ff        rst     #38
3f7d  ff        rst     #38
3f7e  ff        rst     #38
3f7f  ff        rst     #38
3f80  ff        rst     #38
3f81  ff        rst     #38
3f82  ff        rst     #38
3f83  ff        rst     #38
3f84  ff        rst     #38
3f85  ff        rst     #38
3f86  ff        rst     #38
3f87  ff        rst     #38
3f88  ff        rst     #38
3f89  ff        rst     #38
3f8a  ff        rst     #38
3f8b  ff        rst     #38
3f8c  ff        rst     #38
3f8d  ff        rst     #38
3f8e  ff        rst     #38
3f8f  ff        rst     #38
3f90  ff        rst     #38
3f91  ff        rst     #38
3f92  ff        rst     #38
3f93  ff        rst     #38
3f94  ff        rst     #38
3f95  ff        rst     #38
3f96  ff        rst     #38
3f97  ff        rst     #38
3f98  ff        rst     #38
3f99  ff        rst     #38
3f9a  ff        rst     #38
3f9b  ff        rst     #38
3f9c  ff        rst     #38
3f9d  ff        rst     #38
3f9e  ff        rst     #38
3f9f  ff        rst     #38
3fa0  ff        rst     #38
3fa1  ff        rst     #38
3fa2  ff        rst     #38
3fa3  ff        rst     #38
3fa4  ff        rst     #38
3fa5  ff        rst     #38
3fa6  ff        rst     #38
3fa7  ff        rst     #38
3fa8  ff        rst     #38
3fa9  ff        rst     #38
3faa  ff        rst     #38
3fab  ff        rst     #38
3fac  ff        rst     #38
3fad  ff        rst     #38
3fae  ff        rst     #38
3faf  ff        rst     #38
3fb0  ff        rst     #38
3fb1  ff        rst     #38
3fb2  ff        rst     #38
3fb3  ff        rst     #38
3fb4  ff        rst     #38
3fb5  ff        rst     #38
3fb6  ff        rst     #38
3fb7  ff        rst     #38
3fb8  ff        rst     #38
3fb9  ff        rst     #38
3fba  ff        rst     #38
3fbb  ff        rst     #38
3fbc  ff        rst     #38
3fbd  ff        rst     #38
3fbe  ff        rst     #38
3fbf  ff        rst     #38
3fc0  ff        rst     #38
3fc1  ff        rst     #38
3fc2  ff        rst     #38
3fc3  ff        rst     #38
3fc4  ff        rst     #38
3fc5  ff        rst     #38
3fc6  ff        rst     #38
3fc7  ff        rst     #38
3fc8  ff        rst     #38
3fc9  ff        rst     #38
3fca  ff        rst     #38
3fcb  ff        rst     #38
3fcc  ff        rst     #38
3fcd  ff        rst     #38
3fce  ff        rst     #38
3fcf  ff        rst     #38
3fd0  ff        rst     #38
3fd1  ff        rst     #38
3fd2  ff        rst     #38
3fd3  ff        rst     #38
3fd4  ff        rst     #38
3fd5  ff        rst     #38
3fd6  ff        rst     #38
3fd7  ff        rst     #38
3fd8  ff        rst     #38
3fd9  ff        rst     #38
3fda  ff        rst     #38
3fdb  ff        rst     #38
3fdc  ff        rst     #38
3fdd  ff        rst     #38
3fde  ff        rst     #38
3fdf  ff        rst     #38
3fe0  ff        rst     #38
3fe1  ff        rst     #38
3fe2  ff        rst     #38
3fe3  ff        rst     #38
3fe4  ff        rst     #38
3fe5  ff        rst     #38
3fe6  ff        rst     #38
3fe7  ff        rst     #38
3fe8  ff        rst     #38
3fe9  ff        rst     #38
3fea  ff        rst     #38
3feb  ff        rst     #38
3fec  ff        rst     #38
3fed  ff        rst     #38
3fee  ff        rst     #38
3fef  ff        rst     #38
3ff0  ff        rst     #38
3ff1  ff        rst     #38
3ff2  ff        rst     #38
3ff3  ff        rst     #38
3ff4  ff        rst     #38
3ff5  ff        rst     #38
3ff6  ff        rst     #38
3ff7  ff        rst     #38
3ff8  ff        rst     #38
3ff9  ff        rst     #38
3ffa  ff        rst     #38
3ffb  ff        rst     #38
3ffc  ff        rst     #38
3ffd  ff        rst     #38
3ffe  55        ld      d,l
3fff  d9        exx     
